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

Visual Basic
Dim instance As XmlInteractiveActivity
Dim handler As EventHandler(Of XmlDocumentValidationEventArgs)

AddHandler instance.XmlDocumentValidation, handler

Syntax

Visual Basic
<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)
C#
[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
C++
[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);
}
J#
/** @event */
public void add_XmlDocumentValidation (EventHandler<XmlDocumentValidationEventArgs> value)

/** @event */
public void remove_XmlDocumentValidation (EventHandler<XmlDocumentValidationEventArgs> value)
JScript

Platforms

Target Platforms

Windows 2008 x64 Edition

See Also