Share via


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

AddHandler instance.XmlDocumentValidation, handler

Syntax

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

PWResetActivity Class
PWResetActivity Members
Microsoft.ResourceManagement.Workflow.Activities Namespace