DataAsyncCommandEvents 생성자 (DataAsyncCommandStartEventHandler, DataAsyncCommandFailureEventHandler, DataAsyncCommandCancelEventHandler, DataAsyncCommandEndEventHandler)
새 인스턴스를 초기화는 DataAsyncCommandEvents 클래스에 지정 된 대리자입니다.
네임스페이스: Microsoft.VisualStudio.Data
어셈블리: Microsoft.VisualStudio.Data(Microsoft.VisualStudio.Data.dll)
구문
‘선언
Public Sub New ( _
commandStart As DataAsyncCommandStartEventHandler, _
commandFailure As DataAsyncCommandFailureEventHandler, _
commandCancel As DataAsyncCommandCancelEventHandler, _
commandEnd As DataAsyncCommandEndEventHandler _
)
public DataAsyncCommandEvents(
DataAsyncCommandStartEventHandler commandStart,
DataAsyncCommandFailureEventHandler commandFailure,
DataAsyncCommandCancelEventHandler commandCancel,
DataAsyncCommandEndEventHandler commandEnd
)
public:
DataAsyncCommandEvents(
DataAsyncCommandStartEventHandler^ commandStart,
DataAsyncCommandFailureEventHandler^ commandFailure,
DataAsyncCommandCancelEventHandler^ commandCancel,
DataAsyncCommandEndEventHandler^ commandEnd
)
new :
commandStart:DataAsyncCommandStartEventHandler *
commandFailure:DataAsyncCommandFailureEventHandler *
commandCancel:DataAsyncCommandCancelEventHandler *
commandEnd:DataAsyncCommandEndEventHandler -> DataAsyncCommandEvents
public function DataAsyncCommandEvents(
commandStart : DataAsyncCommandStartEventHandler,
commandFailure : DataAsyncCommandFailureEventHandler,
commandCancel : DataAsyncCommandCancelEventHandler,
commandEnd : DataAsyncCommandEndEventHandler
)
매개 변수
commandStart
형식: Microsoft.VisualStudio.Data.DataAsyncCommandStartEventHandler명령이 시작 될 때 호출할 대리자입니다.
commandFailure
형식: Microsoft.VisualStudio.Data.DataAsyncCommandFailureEventHandler명령 실패 될 때 호출할 대리자입니다.
commandCancel
형식: Microsoft.VisualStudio.Data.DataAsyncCommandCancelEventHandler명령 취소 될 때 호출 되는 대리자입니다.
commandEnd
형식: Microsoft.VisualStudio.Data.DataAsyncCommandEndEventHandler명령 종료 되었을 때 호출 되는 대리자입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.
참고 항목
참조
Microsoft.VisualStudio.Data 네임스페이스
DataAsyncCommandStartEventHandler
DataAsyncCommandFailureEventHandler