MessagingFactory.BeginRegisterCommunicationObject Method

Begins a register communication object action.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)

Syntax

'Declaration
Protected Function BeginRegisterCommunicationObject ( _
    communicationObject As CommunicationObject, _
    timeout As TimeSpan, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim communicationObject As CommunicationObject
Dim timeout As TimeSpan
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = Me.BeginRegisterCommunicationObject(communicationObject, _
    timeout, callback, state)
protected IAsyncResult BeginRegisterCommunicationObject(
    CommunicationObject communicationObject,
    TimeSpan timeout,
    AsyncCallback callback,
    Object state
)
protected:
IAsyncResult^ BeginRegisterCommunicationObject(
    CommunicationObject^ communicationObject, 
    TimeSpan timeout, 
    AsyncCallback^ callback, 
    Object^ state
)
member BeginRegisterCommunicationObject : 
        communicationObject:CommunicationObject * 
        timeout:TimeSpan * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult 
protected function BeginRegisterCommunicationObject(
    communicationObject : CommunicationObject, 
    timeout : TimeSpan, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parameters

  • callback
    Type: System.AsyncCallback
    References the method to invoke when the operation is complete.
  • state
    Type: System.Object
    Contains information about the operation.

Return Value

Type: System.IAsyncResult
The asynchronous call result.

See Also

Reference

MessagingFactory Class

Microsoft.ServiceBus.Messaging Namespace