DataAsyncCommandCompletedEventArgs<T> コンストラクター

指定したパラメーターを使用して、DataAsyncCommandCompletedEventArgs<T> クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.VisualStudio.Data.Services.SupportEntities
アセンブリ:  Microsoft.VisualStudio.Data.Services (Microsoft.VisualStudio.Data.Services.dll 内)

構文

'宣言
Public Sub New ( _
    error As Exception, _
    cancelled As Boolean, _
    returnValue As T, _
    userState As Object _
)
public DataAsyncCommandCompletedEventArgs(
    Exception error,
    bool cancelled,
    T returnValue,
    Object userState
)
public:
DataAsyncCommandCompletedEventArgs(
    Exception^ error, 
    bool cancelled, 
    T returnValue, 
    Object^ userState
)
new : 
        error:Exception * 
        cancelled:bool * 
        returnValue:'T * 
        userState:Object -> DataAsyncCommandCompletedEventArgs
public function DataAsyncCommandCompletedEventArgs(
    error : Exception, 
    cancelled : boolean, 
    returnValue : T, 
    userState : Object
)

パラメーター

  • error
    型 : System.Exception
    操作の実行中に発生した例外 (存在する場合)。
  • cancelled
    型 : System.Boolean
    操作が取り消されたかを示す Boolean の値。
  • returnValue
    型 : T
    実行された操作の戻り値。
  • userState
    型 : System.Object
    非同期処理の一意の識別子。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

DataAsyncCommandCompletedEventArgs<T> クラス

Microsoft.VisualStudio.Data.Services.SupportEntities 名前空間