NativeObjectSecurity.ExceptionFromErrorCode 代理人

定義

インテグレーターが作成した特定の例外に数値エラー コードをマップする方法を提供します。

public protected delegate Exception ^ NativeObjectSecurity::ExceptionFromErrorCode(int errorCode, System::String ^ name, SafeHandle ^ handle, System::Object ^ context);
protected internal delegate Exception NativeObjectSecurity.ExceptionFromErrorCode(int errorCode, string name, SafeHandle handle, object context);
protected internal delegate Exception? NativeObjectSecurity.ExceptionFromErrorCode(int errorCode, string? name, SafeHandle? handle, object? context);
Protected Friend Delegate Function NativeObjectSecurity.ExceptionFromErrorCode(errorCode As Integer, name As String, handle As SafeHandle, context As Object) As Exception 

パラメーター

errorCode
Int32

数値エラー コード。

name
String

NativeObjectSecurity オブジェクトが関連付けられている、セキュリティ設定できるオブジェクトの名前。

handle
SafeHandle

NativeObjectSecurity オブジェクトが関連付けられている、セキュリティ設定できるオブジェクトのハンドル。

context
Object

例外のソースまたは宛先に関するコンテキスト情報を格納するオブジェクト。

戻り値

このデリゲートで作成する Exception

拡張メソッド

GetMethodInfo(Delegate)

指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。

適用対象