Activity to invoke the Microsoft.PowerShell.Core\Receive-Job command in a workflow. This SDK programming element is introduced in Windows PowerShell 3.0.

The following tables list the members exposed by the ReceiveJob type.

## Public Constructors

Name Description
ReceiveJob Gets the display name of the command invoked by this activity. This SDK programming element is introduced in Windows PowerShell 3.0.
Top

## Public Properties

NameDescription
AppendOutput  Determines whether to append output to the stream specified by the Result property. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PipelineEnabledActivity)
AutoRemoveJobProvides access to the AutoRemoveJob parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
Debug  Gets or sets a value that indicates whether to emit the debug output of the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
DisplayName  (Inherited from Activity)
ErrorAction  Gets or sets how errors are handled by the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
Id  (Inherited from Activity)
Input  The input stream for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PipelineEnabledActivity)
InstanceIdProvides access to the InstanceId parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
JobProvides access to the Job parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
JobIdProvides access to the JobId parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
KeepProvides access to the Keep parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
LocationProvides access to the Location parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
MergeErrorToOutput  Gets or sets a value that indicates whether to merge error data to the output stream. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
NameProvides access to the Name parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
NoRecurseProvides access to the NoRecurse parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
PSActionRetryCount  Gets or sets the number of times the activity retries execution of an action after encountering an execution error. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
PSActionRetryIntervalSec  Gets or sets the number of seconds to wait before retrying the action. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
PSActionRunningTimeoutSec  Gets or sets the number of seconds to wait before the action times out. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
PSAllowRedirection  Determines whether to allow redirection by the remote computer. The default is false. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSApplicationName  Defines the remote application name to connect to. The default is wsman. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSAuthentication  Defines the authentication type to be used in the remote connection. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSCertificateThumbprint  Defines the certificate thumbprint to be used in the remote connection. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSCommandNameOverridden. Gets the fully qualified name of the command invoked by this activity. This SDK programming element is introduced in Windows PowerShell 3.0.
PSComputerName  The name of the remote computer. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSConfigurationName  Defines the remote configuration name to connect to. The default is Microsoft.PowerShell. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSConnectionRetryCount  Defines the number of retries that the activity will make to connect to a remote machine when it encounters an error. The default is to not retry. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSConnectionRetryIntervalSec  The number of seconds to wait before trying to run the activity again. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSConnectionUri  Defines the fully-qualified remote URI to connect to. When specified, the PSComputerName, PSApplicationName, PSConfigurationName, and PSPort properties are not used. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSCredential  The credentials used to authenticate the activity host. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSDebug  Gets or sets the debug stream (or collection of streams) for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
PSDisableSerialization  Gets or sets a value that indicates whether to disable serialization for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
PSError  Gets or sets the error stream (or collection of streams) for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
PSPersist  Gets or sets a value that indicates whether to force the activity to persist the workflow state onto the disk. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
PSPort  The port to use in a remote connection attempt. The default is: HTTP: 5985, HTTPS: 5986. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSProgress  Gets or sets the progress stream (or collection of streams) for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
PSProgressMessage  Gets or sets the message in the progress stream. (Inherited from PSActivity)
PSRemotingBehavior  Defines the remoting behavior to use when invoking this activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSRequiredModules  Gets or sets the list of module names or paths that are required to run this activity successfully. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
PSSessionOption  Defines any session options to be used in the remote connection. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSUseSsl  Specifies whether to use Secure Sockets Layer (SSL) authentication in the connection attempt. The default is false. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSRemotingActivity)
PSVerbose  Gets or sets the verbose stream (or collection of streams) for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
PSWarning  Gets or sets the warning stream (or collection of streams) for the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
Result  The output stream from the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PipelineEnabledActivity)
SessionProvides access to the Session parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
UseDefaultInput  Specifies whether to connect the input stream for this activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PipelineEnabledActivity)
Verbose  Gets or sets a value that indicates whether to emit verbose output of the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
WaitProvides access to the Wait parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
WarningAction  Gets or sets how warnings are handled by the activity. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
WriteEventsProvides access to the WriteEvents parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
WriteJobInResultsProvides access to the WriteJobInResults parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
Top

## Protected Properties

Name Description
CanInduceIdle  Overridden. Gets a value that indicates whether the activity can be idle. (Inherited from NativeActivity)
Constraints  (Inherited from Activity)
DefiningModule  Gets the name of the module that an activity needs to load before it can execute. (Inherited from PSActivity)
Implementation  Overridden. (Inherited from Activity)
ParameterDefaults  Gets or sets the parameter defaults. (Inherited from PSActivity)
PSDefiningModule  Gets the module that defines the command called by this activity. (Inherited from PSActivity)
SupportsCustomRemoting  Declares whether this command supports its own custom remoting.Commands that support their own custom remoting should return true from this property, and use the PSComputerNameparameter as required when the PSRemotingBehavior parameter is set to Custom. (Inherited from PSRemotingActivity)
UpdatePreferenceVariable  Gets a value that indicates whether preference variables are updated. (Inherited from PSActivity)
Top

## Public Methods

NameDescription
Equals  (Inherited from Object)
GetHashCode  (Inherited from Object)
GetType  (Inherited from Object)
ShouldSerializeDisplayName  (Inherited from Activity)
ToString  Overridden. (Inherited from Object)
Top

## Protected Methods

Name Description
Abort  (Inherited from NativeActivity)
ActivityEndPersistence  When overridden in a derived class, ends the persistence of the Windows PowerShell activity. (Inherited from PSActivity)
CacheMetadata  Overridden. Retrieves the stream and ubiquitous parameter information from the hosting application. (Inherited from NativeActivity)
Cancel  Overridden. Cancels the running activity. (Inherited from NativeActivity)
Execute  Overridden. Begins the execution of the activity. (Inherited from NativeActivity)
Finalize  (Inherited from Object)
GetActivityArguments  Retrieves the list of arguments for the activity. (Inherited from PSActivity)
GetImplementation  Overridden. Prepare commands that use PSRP for remoting. (Inherited from PSActivity)
GetIsComputerNameSpecified  Returns true if the PSComputerName parameter has been specified, and contains at least one target. (Inherited from PSRemotingActivity)
GetPowerShell  When overridden in a derived class, retrieves a configured instance of PowerShell. (Inherited from PSActivity)
GetRunInProc  Determines whether this activity should be run in or out of process when run locally. (Inherited from PSActivity)
MemberwiseClone  (Inherited from Object)
OnCreateDynamicUpdateMap  (Inherited from NativeActivity)
OnCreateDynamicUpdateMap  Overridden. (Inherited from Activity)
PrepareSession  When overridden in a derived class, customizes the runspace of a PowerShell instance that the runtime has prepared for it. (Inherited from PSActivity)
UpdateInstance  (Inherited from NativeActivity)
WriteProgressRecord  Writes a progress record for the current activity. (Inherited from PSActivity)
Top