ServiceHostBase.OnBeginOpen(TimeSpan, AsyncCallback, Object) 메서드

정의

서비스 호스트를 열었을 때 호출되는 비동기 작업을 시작합니다.

protected:
 override IAsyncResult ^ OnBeginOpen(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected override sealed IAsyncResult OnBeginOpen (TimeSpan timeout, AsyncCallback callback, object state);
protected override IAsyncResult OnBeginOpen (TimeSpan timeout, AsyncCallback callback, object state);
override this.OnBeginOpen : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Overrides NotOverridable Function OnBeginOpen (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Protected Overrides Function OnBeginOpen (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

매개 변수

timeout
TimeSpan

제한 시간이 초과되기 전에 열기 작업이 완료되어야 하는 기간을 지정하는 TimeSpan입니다.

callback
AsyncCallback

비동기 열기 작업의 완료에 대한 알림을 수신하는 AsyncCallback 대리자입니다.

state
Object

애플리케이션에 의해 지정되는 개체로, 비동기 열기 작업과 연결된 상태 정보를 포함합니다.

반환

IAsyncResult

비동기 열기 작업을 참조하는 IAsyncResult입니다.

적용 대상