'Declaration
Function BeginClose( _ ByVal callback As AsyncCallback, _ ByVal callbackData As Object _ ) As IAsyncResult
'Usage
Dim instance As ITransportChannel Dim callback As AsyncCallback Dim callbackData As Object Dim value As IAsyncResult value = instance.BeginClose(callback, callbackData)
IAsyncResult BeginClose( AsyncCallback callback, object callbackData )
IAsyncResult^ BeginClose( AsyncCallback^ callback, Object^ callbackData )
Parameters
- callback
- The callback to call when the operation completes.
- callbackData
- The callback data to return with the callback.
Return Value
The result which must be passed to the EndClose method.