ActivityContext ActivityContext ActivityContext 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
ActivityContextActivityContextActivityContextActivityContext
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 ActivityInstanceId ActivityInstanceId ActivityInstanceId

Gets the unique identifier of the currently executing activity instance.

DataContext DataContext DataContext DataContext

Gets the data context of the currently executing activity.

WorkflowInstanceId WorkflowInstanceId WorkflowInstanceId WorkflowInstanceId

Gets the unique identifier of the currently executing workflow instance.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetExtension<T>() GetExtension<T>() GetExtension<T>() GetExtension<T>()

Returns an extension of the specified type.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

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

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

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetValue(Argument) GetValue(Argument) GetValue(Argument) GetValue(Argument)

Gets the value of the specified Argument.

GetValue(RuntimeArgument) GetValue(RuntimeArgument) GetValue(RuntimeArgument) GetValue(RuntimeArgument)

Gets the value of the specified RuntimeArgument.

GetValue<T>(InArgument<T>) GetValue<T>(InArgument<T>) GetValue<T>(InArgument<T>) GetValue<T>(InArgument<T>)

Gets the value of the specified InArgument<T>.

GetValue<T>(InOutArgument<T>) GetValue<T>(InOutArgument<T>) GetValue<T>(InOutArgument<T>) GetValue<T>(InOutArgument<T>)

Gets the value of the specified InOutArgument<T>.

GetValue<T>(LocationReference) GetValue<T>(LocationReference) GetValue<T>(LocationReference) GetValue<T>(LocationReference)

Gets the value at the specified LocationReference.

GetValue<T>(OutArgument<T>) GetValue<T>(OutArgument<T>) GetValue<T>(OutArgument<T>) GetValue<T>(OutArgument<T>)

Gets the value of the specified OutArgument<T>.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetValue(Argument, Object) SetValue(Argument, Object) SetValue(Argument, Object) SetValue(Argument, Object)

Assigns a value to the specified Argument.

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

Assigns a value to the specified InArgument<T>.

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

Assigns a value to the specified InOutArgument<T>.

SetValue<T>(LocationReference, T) SetValue<T>(LocationReference, T) SetValue<T>(LocationReference, T) SetValue<T>(LocationReference, T)

Assigns a value to the specified LocationReference.

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

Assigns a value to the specified OutArgument<T>.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to