Share via


XmlInteractiveActivity.CreateFaultMessage Property

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 value As FaultException

value = instance.CreateFaultMessage

instance.CreateFaultMessage = value

Syntax

'Declaration
<CategoryAttribute("Parameters")> _
<DescriptionAttribute("A Fault Exception that is to be sent back to the client after a WS-Transfer Create Request has been received. For example, if the document cannot be deserialized, or fails document validation, an InvalidRepresentationFault should be sent back to the client. Also, a parent activity should set this property if OperationValidation or DocumentValidation fail: This will inform the Activity to stop processing the document, and to return the fault response to the client.")> _
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> _
<ValidationOptionAttribute(ValidationOption.Optional)> _
<BrowsableAttribute(True)> _
Public Property CreateFaultMessage As FaultException
[CategoryAttribute("Parameters")] 
[DescriptionAttribute("A Fault Exception that is to be sent back to the client after a WS-Transfer Create Request has been received. For example, if the document cannot be deserialized, or fails document validation, an InvalidRepresentationFault should be sent back to the client. Also, a parent activity should set this property if OperationValidation or DocumentValidation fail: This will inform the Activity to stop processing the document, and to return the fault response to the client.")] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] 
[ValidationOptionAttribute(ValidationOption.Optional)] 
[BrowsableAttribute(true)] 
public FaultException CreateFaultMessage { get; set; }
[CategoryAttribute(L"Parameters")] 
[DescriptionAttribute(L"A Fault Exception that is to be sent back to the client after a WS-Transfer Create Request has been received. For example, if the document cannot be deserialized, or fails document validation, an InvalidRepresentationFault should be sent back to the client. Also, a parent activity should set this property if OperationValidation or DocumentValidation fail: This will inform the Activity to stop processing the document, and to return the fault response to the client.")] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Visible)] 
[ValidationOptionAttribute(ValidationOption::Optional)] 
[BrowsableAttribute(true)] 
public:
property FaultException^ CreateFaultMessage {
    FaultException^ get ();
    void set (FaultException^ value);
}
/** @property */
public FaultException get_CreateFaultMessage ()

/** @property */
public void set_CreateFaultMessage (FaultException value)
public function get CreateFaultMessage () : FaultException

public function set CreateFaultMessage (value : FaultException)

Property Value

Returns FaultException.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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