Content Studio Web Content Management System
Assembly: AsynchronousEventHandlers (in AsynchronousEventHandlers.dll) Version: 1.0.0.0 (1.0.0.0)
[This is preliminary documentation and is subject to change.]
Parses the event data xml passed in the event handler.
Namespace: ContentStudio.EventActions.AsynchronousEventHandlers
Assembly: AsynchronousEventHandlers (in AsynchronousEventHandlers.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- eventXmlArguments
- Type: SystemString
The passed in Xml data
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | |
XmlException |
Remarks
This method parses the event xml passed in from Content Studio and fills the event handler properties with data. Any xml data that does not correspond to one of this class properties are considered as extended properties and can be obtained through the GetExtendedPropertyValue(Type, String) method.
Note |
---|
If you decide to override this method remember to call the base class implementation before executing any custom code, if not the properties have not been initialized with data. |
Examples
The following sample code shows a correct way of overriding this method
protected override void ParseInputXml(string eventXmlArguments) { //initialize the properties base.ParseInputXml(eventXmlArguments); //custom code goes here // // }
See Also