MessageReceiver.OnClose Method
Executes the close action.
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)
Syntax
'Declaration
Protected Overrides Sub OnClose ( _
timeout As TimeSpan _
)
'Usage
Dim timeout As TimeSpan
Me.OnClose(timeout)
protected override void OnClose(
TimeSpan timeout
)
protected:
virtual void OnClose(
TimeSpan timeout
) override
abstract OnClose :
timeout:TimeSpan -> unit
override OnClose :
timeout:TimeSpan -> unit
protected override function OnClose(
timeout : TimeSpan
)
Parameters
- timeout
Type: System.TimeSpan
The timeout.