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 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)

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

適用対象