MessageClientEntity.OnClose Method

Executes upon calling the Close operation.

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

Syntax

'Declaration
Protected Overridable Sub OnClose ( _
    timeout As TimeSpan _
)
'Usage
Dim timeout As TimeSpan

Me.OnClose(timeout)
protected virtual void OnClose(
    TimeSpan timeout
)
protected:
virtual void OnClose(
    TimeSpan timeout
)
abstract OnClose : 
        timeout:TimeSpan -> unit 
override OnClose : 
        timeout:TimeSpan -> unit 
protected function OnClose(
    timeout : TimeSpan
)

Parameters

  • timeout
    Type: System.TimeSpan
    The time span interval the operation waits before it times out.

See Also

Reference

MessageClientEntity Class

Microsoft.ServiceBus.Messaging Namespace