ContractHelper Clase

Definición

Precaución

Use the ContractHelper class in the System.Runtime.CompilerServices namespace instead.

Proporciona métodos que usa el sistema de reescritura binario para administrar errores de contrato.

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
Herencia
ContractHelper
Atributos

Métodos

RaiseContractFailedEvent(ContractFailureKind, String, String, Exception)
Obsoletos.

Es empleado por el sistema de reescritura binario para activar el comportamiento de error predeterminado.

TriggerFailure(ContractFailureKind, String, String, String, Exception)
Obsoletos.

Desencadena el comportamiento de error predeterminado.

Se aplica a