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 PWResetActivity
Dim handler As EventHandler(Of XmlDocumentValidationEventArgs)

AddHandler instance.XmlDocumentValidation, handler

Syntax

Visual Basic
<BrowsableAttribute(False)> _
<CategoryAttribute("Event Handlers")> _
<ValidationOptionAttribute(ValidationOption.None)> _
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> _
<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.")> _
Public Event XmlDocumentValidation As EventHandler(Of XmlDocumentValidationEventArgs)
C#
[BrowsableAttribute(false)] 
[CategoryAttribute("Event Handlers")] 
[ValidationOptionAttribute(ValidationOption.None)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] 
[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.")] 
public event EventHandler<XmlDocumentValidationEventArgs> XmlDocumentValidation
C++
[BrowsableAttribute(false)] 
[CategoryAttribute(L"Event Handlers")] 
[ValidationOptionAttribute(ValidationOption::None)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Visible)] 
[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.")] 
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