संपादित करें

इसके माध्यम से साझा किया गया


WorkflowSuspendedEventArgs Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Provides data for the WorkflowSuspended event.

public ref class WorkflowSuspendedEventArgs : System::Workflow::Runtime::WorkflowEventArgs
public class WorkflowSuspendedEventArgs : System.Workflow.Runtime.WorkflowEventArgs
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class WorkflowSuspendedEventArgs : System.Workflow.Runtime.WorkflowEventArgs
type WorkflowSuspendedEventArgs = class
    inherit WorkflowEventArgs
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowSuspendedEventArgs = class
    inherit WorkflowEventArgs
Public Class WorkflowSuspendedEventArgs
Inherits WorkflowEventArgs
Inheritance
WorkflowSuspendedEventArgs
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

A workflow instance may be suspended in one of three ways: the host may call WorkflowInstance.Suspend, a SuspendActivity activity may be invoked from inside the workflow instance, or the workflow runtime engine may suspend the workflow instance. When the workflow instance is suspended, the workflow runtime engine raises the WorkflowRuntime.WorkflowSuspended event. The host may subscribe to this event by adding an event handler to WorkflowRuntime.WorkflowSuspended.

Properties

Error

Gets the description of why the workflow instance was suspended.

WorkflowInstance

Gets the workflow instance associated with the workflow event.

(Inherited from WorkflowEventArgs)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to