Compartilhar via


ExperimentalAttribute Class

Definition

The attribute that applies to cmdlet/function/parameter to define what the engine should do with it.

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

Constructors

ExperimentalAttribute(String, ExperimentAction)

Initializes a new instance of the ExperimentalAttribute class.

Properties

ExperimentAction

Get action for engine to take when the experimental feature is enabled.

ExperimentName

Get name of the experimental feature this attribute is associated with.

Applies to