Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WorkflowOwnershipException Constructor (Guid)

 

Initializes a new instance of the WorkflowOwnershipException class by using a specified workflow instance Guid.

Namespace:   System.Workflow.Runtime
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

public:
WorkflowOwnershipException(
	Guid instanceId
)

Parameters

instanceId
Type: System::Guid

The Guid of the workflow instance for which this exception occurred.

instanceId is equivalent to the WorkflowInstance::InstanceId property of the workflow instance. The Message property of the new instance is initialized to a system-supplied message that describes the error and takes into account the current system culture.

The following table shows the initial property values for an instance of WorkflowOwnershipException.

Property

Value

InnerException

A null reference (Nothing in Visual Basic)

Message

A system-supplied localized description.

InstanceId

The Guid of the workflow instance, specified by instanceId, for which this exception occurred.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft