다음을 통해 공유


ContractHelper 클래스

정의

주의

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

이진 재작성기에서 계약 실패를 처리하는 데 사용하는 메서드를 제공합니다.

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
상속
ContractHelper
특성

메서드

RaiseContractFailedEvent(ContractFailureKind, String, String, Exception)
사용되지 않음.

이진 재작성기에서 기본 실패 동작을 활성화하는 데 사용됩니다.

TriggerFailure(ContractFailureKind, String, String, String, Exception)
사용되지 않음.

기본 실패 동작을 트리거합니다.

적용 대상