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
    형식: Exception

    작업 실행 중에 있는 경우 발생 하는 예외입니다.

  • cancelled
    형식: Boolean

    A Boolean 작업이 취소 되었는지 여부를 나타내는 값입니다.

  • returnValue
    형식: T

    실행된 한 작업의 반환 값입니다.

  • userState
    형식: Object

    비동기 프로세스의 고유 식별자입니다.

.NET Framework 보안

참고 항목

참조

DataAsyncCommandCompletedEventArgs<T> 클래스

Microsoft.VisualStudio.Data.Services.SupportEntities 네임스페이스