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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET