Share via


ConditionalAttribute Constructor

Initializes a new instance of the ConditionalAttribute class, specifying the name of the attribute that makes a specific conditional method callable.

Namespace: System.Diagnostics
Assembly: mscorlib (in mscorlib.dll)

Syntax

public ConditionalAttribute (
         string conditionString
)

Parameters

  • conditionString
    A string containing the preprocessing identifier that makes the target method of the current object callable.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

ConditionalAttribute Class
ConditionalAttribute Members
System.Diagnostics Namespace