ContractHelper Klas

Definitie

Let op

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

Biedt methoden die de binaire rewriter gebruikt om contractfouten af te handelen.

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
Overname
ContractHelper
Kenmerken

Methoden

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

Wordt gebruikt door de binaire rewriter om het standaardfoutgedrag te activeren.

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

Activeert het standaardfoutgedrag.

Van toepassing op