ContractHelper Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Attenzione
Use the ContractHelper class in the System.Runtime.CompilerServices namespace instead.
Fornisce metodi usati dal rewriter binario per gestire gli errori di contratto.
public ref class ContractHelper abstract sealed
public static class ContractHelper
[System.Obsolete("Use the ContractHelper class in the System.Runtime.CompilerServices namespace instead.")]
public static class ContractHelper
type ContractHelper = class
[<System.Obsolete("Use the ContractHelper class in the System.Runtime.CompilerServices namespace instead.")>]
type ContractHelper = class
Public Class ContractHelper
- Ereditarietà
-
ContractHelper
- Attributi
Metodi
RaiseContractFailedEvent(ContractFailureKind, String, String, Exception) |
Obsoleti.
Utilizzato dal rewriter binario per attivare il comportamento dell'errore predefinito. |
TriggerFailure(ContractFailureKind, String, String, String, Exception) |
Obsoleti.
Attiva il comportamento dell'errore predefinito. |