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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.