ContractHelper Klass

Definition

Innehåller metoder som den binära skrivmaskinen använder för att hantera kontraktsfel.

public ref class ContractHelper abstract sealed
public static class ContractHelper
type ContractHelper = class
Public Class ContractHelper
Arv
ContractHelper

Metoder

Name Description
RaiseContractFailedEvent(ContractFailureKind, String, String, Exception)

Används av den binära skrivmaskinen för att aktivera standardbeteendet för fel.

TriggerFailure(ContractFailureKind, String, String, String, Exception)

Utlöser standardbeteendet för fel.

Gäller för