Windows desktop applications
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.

PSActivityContext Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents the execution environment of an activity. Introduced in Windows PowerShell 3.0.

Namespace:   Microsoft.PowerShell.Activities
Assembly:  Microsoft.PowerShell.Workflow.ServiceCore (in Microsoft.PowerShell.Workflow.ServiceCore.dll)

System.Object
  Microsoft.PowerShell.Activities.PSActivityContext

<SerializableAttribute>
Public Class PSActivityContext
	Implements IDisposable

NameDescription
System_CAPS_pubmethodPSActivityContext()

Initializes a new instance of the PSActivityContext class. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubpropertyIsCanceled

Gets or sets a value that indicates whether the commands in this context have been canceled. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubmethodCancel()

Cancels asynchronous execution of the activity. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodDispose()

Releases all resources used by this object. Introduced in Windows PowerShell 3.0.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by this object and optionally releases the managed resources. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecute()

Executes the activity. Introduced in Windows PowerShell 3.0.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft