Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the final ActivityInstanceState of the WorkflowInstance.
GetCompletionState() |
Returns the final ActivityInstanceState of the WorkflowInstance. |
GetCompletionState(Exception) |
Returns the final ActivityInstanceState of the WorkflowInstance, including termination exception. |
GetCompletionState(IDictionary<String,Object>, Exception) |
Returns the final ActivityInstanceState of the WorkflowInstance, including workflow outputs and termination exception. |
Returns the final ActivityInstanceState of the WorkflowInstance.
public:
System::Activities::ActivityInstanceState GetCompletionState();
public System.Activities.ActivityInstanceState GetCompletionState();
member this.GetCompletionState : unit -> System.Activities.ActivityInstanceState
Public Function GetCompletionState () As ActivityInstanceState
One of the enumeration members that describes the state of an activity instance.
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Returns the final ActivityInstanceState of the WorkflowInstance, including termination exception.
public:
System::Activities::ActivityInstanceState GetCompletionState([Runtime::InteropServices::Out] Exception ^ % terminationException);
public System.Activities.ActivityInstanceState GetCompletionState(out Exception terminationException);
member this.GetCompletionState : Exception -> System.Activities.ActivityInstanceState
Public Function GetCompletionState (ByRef terminationException As Exception) As ActivityInstanceState
When this method returns, terminationException
contains the exception that caused the WorkflowInstance to terminate, or null
if the WorkflowInstance did not terminate. This parameter is passed uninitialized.
One of the enumeration members that describes the state of an activity instance.
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Returns the final ActivityInstanceState of the WorkflowInstance, including workflow outputs and termination exception.
public:
System::Activities::ActivityInstanceState GetCompletionState([Runtime::InteropServices::Out] System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ % outputs, [Runtime::InteropServices::Out] Exception ^ % terminationException);
public System.Activities.ActivityInstanceState GetCompletionState(out System.Collections.Generic.IDictionary<string,object> outputs, out Exception terminationException);
member this.GetCompletionState : IDictionary * Exception -> System.Activities.ActivityInstanceState
Public Function GetCompletionState (ByRef outputs As IDictionary(Of String, Object), ByRef terminationException As Exception) As ActivityInstanceState
When this method returns, outputs
contains a dictionary of Out arguments of the workflow, keyed by argument name. This parameter is passed uninitialized.
When this method returns, terminationException
contains the exception that caused the WorkflowInstance to terminate, or null
if the WorkflowInstance did not terminate. This parameter is passed uninitialized.
One of the enumeration members that describes the state of an activity instance.
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in