SubscriptionClient.RegisterSessionHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RegisterSessionHandler(Type) |
Registers the handler for the client session. |
RegisterSessionHandler(Type, SessionHandlerOptions) |
Registers the handler for the client session. |
RegisterSessionHandler(Type)
Registers the handler for the client session.
public void RegisterSessionHandler (Type handlerType);
member this.RegisterSessionHandler : Type -> unit
Public Sub RegisterSessionHandler (handlerType As Type)
Parameters
- handlerType
- Type
The type of the handler.
Applies to
RegisterSessionHandler(Type, SessionHandlerOptions)
Registers the handler for the client session.
public void RegisterSessionHandler (Type handlerType, Microsoft.ServiceBus.Messaging.SessionHandlerOptions options);
member this.RegisterSessionHandler : Type * Microsoft.ServiceBus.Messaging.SessionHandlerOptions -> unit
Public Sub RegisterSessionHandler (handlerType As Type, options As SessionHandlerOptions)
Parameters
- handlerType
- Type
The type of the handler.
- options
- SessionHandlerOptions
The session handler options.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET