DoesNotReturnIfAttribute(Boolean) Konstruktor

Definition

Initierar en ny instans av DoesNotReturnIfAttribute klassen med det angivna parametervärdet.

public:
 DoesNotReturnIfAttribute(bool parameterValue);
public DoesNotReturnIfAttribute(bool parameterValue);
new System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute : bool -> System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute
Public Sub New (parameterValue As Boolean)

Parametrar

parameterValue
Boolean

Villkorsparametervärdet. Kod efter metoden anses inte kunna nås av diagnostik om argumentet till den associerade parametern matchar det här värdet.

Gäller för