XmlInteractiveActivity.XmlDocumentValidation Event
This API supports the FIM 2010 infrastructure. Using this API directly from your code is not supported.
Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in Microsoft.ResourceManagement.dll)
Usage
'Usage
Dim instance As XmlInteractiveActivity
Dim handler As EventHandler(Of XmlDocumentValidationEventArgs)
AddHandler instance.XmlDocumentValidation, handler
Syntax
'Declaration
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> _
<ValidationOptionAttribute(ValidationOption.None)> _
<BrowsableAttribute(True)> _
<DescriptionAttribute("An Event Handler for Validating the Xml Document. This event is triggered upon successful deserialization of the document, and allows a parent activity to perform additional document validation if necessary. Should the parent activity wish to flag that document validation failed, it should set the FaultMessage property to an appropriate Fault Exception.")> _
<CategoryAttribute("Event Handlers")> _
Public Event XmlDocumentValidation As EventHandler(Of XmlDocumentValidationEventArgs)
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[ValidationOptionAttribute(ValidationOption.None)]
[BrowsableAttribute(true)]
[DescriptionAttribute("An Event Handler for Validating the Xml Document. This event is triggered upon successful deserialization of the document, and allows a parent activity to perform additional document validation if necessary. Should the parent activity wish to flag that document validation failed, it should set the FaultMessage property to an appropriate Fault Exception.")]
[CategoryAttribute("Event Handlers")]
public event EventHandler<XmlDocumentValidationEventArgs> XmlDocumentValidation
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Visible)]
[ValidationOptionAttribute(ValidationOption::None)]
[BrowsableAttribute(true)]
[DescriptionAttribute(L"An Event Handler for Validating the Xml Document. This event is triggered upon successful deserialization of the document, and allows a parent activity to perform additional document validation if necessary. Should the parent activity wish to flag that document validation failed, it should set the FaultMessage property to an appropriate Fault Exception.")]
[CategoryAttribute(L"Event Handlers")]
public:
event EventHandler<XmlDocumentValidationEventArgs^>^ XmlDocumentValidation {
void add (EventHandler<XmlDocumentValidationEventArgs^>^ value);
void remove (EventHandler<XmlDocumentValidationEventArgs^>^ value);
}
/** @event */
public void add_XmlDocumentValidation (EventHandler<XmlDocumentValidationEventArgs> value)
/** @event */
public void remove_XmlDocumentValidation (EventHandler<XmlDocumentValidationEventArgs> value)
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000
Target Platforms
See Also
Reference
XmlInteractiveActivity Class
XmlInteractiveActivity Members
Microsoft.ResourceManagement.Workflow.Activities Namespace