Dela via


NoRunspaceAffinityAttribute Class

Definition

The attribute for a PowerShell class to not affiliate with a particular Runspace\SessionState.

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class NoRunspaceAffinityAttribute : System.Management.Automation.Internal.ParsingBaseAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type NoRunspaceAffinityAttribute = class
    inherit ParsingBaseAttribute
Public NotInheritable Class NoRunspaceAffinityAttribute
Inherits ParsingBaseAttribute
Inheritance
Attributes

Constructors

NoRunspaceAffinityAttribute()

Initializes a new instance of the attribute.

Applies to