RuntimeHelpers.PrepareContractedDelegate(Delegate) 메서드

정의

주의

The Constrained Execution Region (CER) feature is not supported.

애플리케이션이 AppDomain 이벤트 대리자를 동적으로 준비하는 방법을 제공합니다.

public:
 static void PrepareContractedDelegate(Delegate ^ d);
[System.Obsolete("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static void PrepareContractedDelegate (Delegate d);
public static void PrepareContractedDelegate (Delegate d);
[System.Security.SecurityCritical]
public static void PrepareContractedDelegate (Delegate d);
[<System.Obsolete("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member PrepareContractedDelegate : Delegate -> unit
static member PrepareContractedDelegate : Delegate -> unit
[<System.Security.SecurityCritical>]
static member PrepareContractedDelegate : Delegate -> unit
Public Shared Sub PrepareContractedDelegate (d As Delegate)

매개 변수

d
Delegate

준비할 이벤트 대리자입니다.

특성

설명

AppDomain, ProcessExitUnhandledException 와 같은 DomainUnload이벤트 대리자는 시작 시 자동으로 준비되지 않습니다. 다음 메서드를 사용하여 준비할 수 있습니다.

자세한 내용은 MSDN Magazine에서 .NET Framework 안정성 기능을 사용하여 코드 실행 유지 문서를 참조하세요.

적용 대상