Share via


DurableInstanceSuspendInfo.Reason Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets an explanation for the suspended instance.

Namespace:  System.ServiceModel.Activities.Dispatcher
Assembly:  System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)

Syntax

'Declaration
<DataMemberAttribute(EmitDefaultValue := False)> _
Public Property Reason As String
    Get
    Private Set
'Usage
Dim instance As DurableInstanceSuspendInfo
Dim value As String

value = instance.Reason
[DataMemberAttribute(EmitDefaultValue = false)]
public string Reason { get; private set; }
[DataMemberAttribute(EmitDefaultValue = false)]
public:
property String^ Reason {
    String^ get ();
    private: void set (String^ value);
}
function get Reason () : String
private function set Reason (value : String)
[<DataMemberAttribute(EmitDefaultValue = false)>]
member Reason : string with get, private set

Property Value

Type: System.String
The reason for suspending the instance.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

DurableInstanceSuspendInfo Class

DurableInstanceSuspendInfo Members

System.ServiceModel.Activities.Dispatcher Namespace