다음을 통해 공유


RunspaceAttribute Class

Definition

Defines the attribute used to designate a cmdlet parameter as one that should accept runspaces.

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class RunspaceAttribute : System.Management.Automation.ArgumentTransformationAttribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false)>]
type RunspaceAttribute = class
    inherit ArgumentTransformationAttribute
Public NotInheritable Class RunspaceAttribute
Inherits ArgumentTransformationAttribute
Inheritance
Attributes

Constructors

RunspaceAttribute()

Properties

TransformNullOptionalParameters

Gets a flag indicating whether or not null optional parameters are transformed.

Methods

Transform(EngineIntrinsics, Object)

Transforms the input data to a Runspace.

Applies to