Redigera

Dela via


ActivityContext Class

Definition

The base class for context classes that represent the execution environment of an activity.

public ref class ActivityContext
public class ActivityContext
type ActivityContext = class
Public Class ActivityContext
Inheritance
ActivityContext
Derived

Remarks

This class provides limited access to the Windows Workflow Foundation (WF) runtime and is the base class for all execution contexts that are provided by Windows Workflow Foundation (WF).

Properties

ActivityInstanceId

Gets the unique identifier of the currently executing activity instance.

DataContext

Gets the data context of the currently executing activity.

WorkflowInstanceId

Gets the unique identifier of the currently executing workflow instance.

Methods

Equals(Object)

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

(Inherited from Object)
GetExtension<T>()

Returns an extension of the specified type.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLocation<T>(LocationReference)

Returns the typed location for the specified referenced location for the current activity context.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetValue(Argument)

Gets the value of the specified Argument.

GetValue(RuntimeArgument)

Gets the value of the specified RuntimeArgument.

GetValue<T>(InArgument<T>)

Gets the value of the specified InArgument<T>.

GetValue<T>(InOutArgument<T>)

Gets the value of the specified InOutArgument<T>.

GetValue<T>(LocationReference)

Gets the value at the specified LocationReference.

GetValue<T>(OutArgument<T>)

Gets the value of the specified OutArgument<T>.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetValue(Argument, Object)

Assigns a value to the specified Argument.

SetValue<T>(InArgument<T>, T)

Assigns a value to the specified InArgument<T>.

SetValue<T>(InOutArgument<T>, T)

Assigns a value to the specified InOutArgument<T>.

SetValue<T>(LocationReference, T)

Assigns a value to the specified LocationReference.

SetValue<T>(OutArgument<T>, T)

Assigns a value to the specified OutArgument<T>.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to