SubscriptionClient.AcceptMessageSession SubscriptionClient.AcceptMessageSession SubscriptionClient.AcceptMessageSession SubscriptionClient.AcceptMessageSession SubscriptionClient.AcceptMessageSession SubscriptionClient.AcceptMessageSession Method

Definition

Overloads

AcceptMessageSession(String, Boolean, TimeSpan) AcceptMessageSession(String, Boolean, TimeSpan) AcceptMessageSession(String, Boolean, TimeSpan) AcceptMessageSession(String, Boolean, TimeSpan)
AcceptMessageSession(String, TimeSpan) AcceptMessageSession(String, TimeSpan) AcceptMessageSession(String, TimeSpan) AcceptMessageSession(String, TimeSpan)

Accepts a message session that allows grouping of related messages for processing in a single transaction using the given session identifier and wait time.

AcceptMessageSession(String, Guid) AcceptMessageSession(String, Guid) AcceptMessageSession(String, Guid) AcceptMessageSession(String, Guid)
AcceptMessageSession(String, Boolean) AcceptMessageSession(String, Boolean) AcceptMessageSession(String, Boolean) AcceptMessageSession(String, Boolean) AcceptMessageSession(String, Boolean) AcceptMessageSession(String, Boolean)
AcceptMessageSession(String, Guid, TimeSpan) AcceptMessageSession(String, Guid, TimeSpan) AcceptMessageSession(String, Guid, TimeSpan) AcceptMessageSession(String, Guid, TimeSpan)
AcceptMessageSession(TimeSpan) AcceptMessageSession(TimeSpan) AcceptMessageSession(TimeSpan) AcceptMessageSession(TimeSpan)

Accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.

AcceptMessageSession(String) AcceptMessageSession(String) AcceptMessageSession(String) AcceptMessageSession(String) AcceptMessageSession(String) AcceptMessageSession(String)

Accepts a message session that allows grouping of related messages for processing in a single transaction using the given session identifier.

AcceptMessageSession(Boolean) AcceptMessageSession(Boolean) AcceptMessageSession(Boolean) AcceptMessageSession(Boolean) AcceptMessageSession(Boolean) AcceptMessageSession(Boolean)
AcceptMessageSession() AcceptMessageSession() AcceptMessageSession() AcceptMessageSession() AcceptMessageSession() AcceptMessageSession()

Accepts a message session that allows grouping of related messages for processing in a single transaction.

AcceptMessageSession(Boolean, TimeSpan) AcceptMessageSession(Boolean, TimeSpan) AcceptMessageSession(Boolean, TimeSpan) AcceptMessageSession(Boolean, TimeSpan)

AcceptMessageSession(String, Boolean, TimeSpan) AcceptMessageSession(String, Boolean, TimeSpan) AcceptMessageSession(String, Boolean, TimeSpan) AcceptMessageSession(String, Boolean, TimeSpan)

public:
 virtual Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession(System::String ^ sessionId, bool isExclusiveMode, TimeSpan serverWaitTime);
public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession (string sessionId, bool isExclusiveMode, TimeSpan serverWaitTime);
abstract member AcceptMessageSession : string * bool * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSession
override this.AcceptMessageSession : string * bool * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSession
Public Function AcceptMessageSession (sessionId As String, isExclusiveMode As Boolean, serverWaitTime As TimeSpan) As MessageSession
Parameters
Returns

AcceptMessageSession(String, TimeSpan) AcceptMessageSession(String, TimeSpan) AcceptMessageSession(String, TimeSpan) AcceptMessageSession(String, TimeSpan)

Accepts a message session that allows grouping of related messages for processing in a single transaction using the given session identifier and wait time.

public:
 virtual Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession(System::String ^ sessionId, TimeSpan serverWaitTime);
public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession (string sessionId, TimeSpan serverWaitTime);
abstract member AcceptMessageSession : string * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSession
override this.AcceptMessageSession : string * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSession
Public Function AcceptMessageSession (sessionId As String, serverWaitTime As TimeSpan) As MessageSession
Parameters
sessionId
String String String String String String

The session identifier of the message session.

serverWaitTime
TimeSpan TimeSpan TimeSpan TimeSpan TimeSpan TimeSpan

The time span the server waits for processing messages before it times out.

Returns

A MessageSession that allows grouping of related messages for processing in a single transaction.

Exceptions

AcceptMessageSession(String, Guid) AcceptMessageSession(String, Guid) AcceptMessageSession(String, Guid) AcceptMessageSession(String, Guid)

public:
 virtual Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession(System::String ^ sessionId, Guid lockToken);
public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession (string sessionId, Guid lockToken);
abstract member AcceptMessageSession : string * Guid -> Microsoft.ServiceBus.Messaging.MessageSession
override this.AcceptMessageSession : string * Guid -> Microsoft.ServiceBus.Messaging.MessageSession
Public Function AcceptMessageSession (sessionId As String, lockToken As Guid) As MessageSession
Parameters
lockToken
Guid Guid Guid Guid Guid Guid
Returns

AcceptMessageSession(String, Boolean) AcceptMessageSession(String, Boolean) AcceptMessageSession(String, Boolean) AcceptMessageSession(String, Boolean) AcceptMessageSession(String, Boolean) AcceptMessageSession(String, Boolean)

public:
 virtual Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession(System::String ^ sessionId, bool isExclusiveMode);
public:
 Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession(Platform::String ^ sessionId, bool isExclusiveMode);
Microsoft::ServiceBus::Messaging::MessageSession AcceptMessageSession(std::wstring const & sessionId, bool isExclusiveMode);
public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession (string sessionId, bool isExclusiveMode);
abstract member AcceptMessageSession : string * bool -> Microsoft.ServiceBus.Messaging.MessageSession
override this.AcceptMessageSession : string * bool -> Microsoft.ServiceBus.Messaging.MessageSession
Public Function AcceptMessageSession (sessionId As String, isExclusiveMode As Boolean) As MessageSession
Parameters
Returns

AcceptMessageSession(String, Guid, TimeSpan) AcceptMessageSession(String, Guid, TimeSpan) AcceptMessageSession(String, Guid, TimeSpan) AcceptMessageSession(String, Guid, TimeSpan)

public:
 virtual Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession(System::String ^ sessionId, Guid lockToken, TimeSpan serverWaitTime);
public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession (string sessionId, Guid lockToken, TimeSpan serverWaitTime);
abstract member AcceptMessageSession : string * Guid * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSession
override this.AcceptMessageSession : string * Guid * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSession
Public Function AcceptMessageSession (sessionId As String, lockToken As Guid, serverWaitTime As TimeSpan) As MessageSession
Parameters
lockToken
Guid Guid Guid Guid Guid Guid
Returns

AcceptMessageSession(TimeSpan) AcceptMessageSession(TimeSpan) AcceptMessageSession(TimeSpan) AcceptMessageSession(TimeSpan)

Accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.

public:
 virtual Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession(TimeSpan serverWaitTime);
public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession (TimeSpan serverWaitTime);
abstract member AcceptMessageSession : TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSession
override this.AcceptMessageSession : TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSession
Public Function AcceptMessageSession (serverWaitTime As TimeSpan) As MessageSession
Parameters
serverWaitTime
TimeSpan TimeSpan TimeSpan TimeSpan TimeSpan TimeSpan

The time span the server waits for processing messages before it times out.

Returns

A MessageSession that allows grouping of related messages for processing in a single transaction.

Exceptions

AcceptMessageSession(String) AcceptMessageSession(String) AcceptMessageSession(String) AcceptMessageSession(String) AcceptMessageSession(String) AcceptMessageSession(String)

Accepts a message session that allows grouping of related messages for processing in a single transaction using the given session identifier.

public:
 virtual Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession(System::String ^ sessionId);
public:
 Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession(Platform::String ^ sessionId);
Microsoft::ServiceBus::Messaging::MessageSession AcceptMessageSession(std::wstring const & sessionId);
public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession (string sessionId);
abstract member AcceptMessageSession : string -> Microsoft.ServiceBus.Messaging.MessageSession
override this.AcceptMessageSession : string -> Microsoft.ServiceBus.Messaging.MessageSession
Public Function AcceptMessageSession (sessionId As String) As MessageSession
Parameters
sessionId
String String String String String String

The session identifier of the message session.

Returns

A MessageSession that allows grouping of related messages for processing in a single transaction.

Exceptions

AcceptMessageSession(Boolean) AcceptMessageSession(Boolean) AcceptMessageSession(Boolean) AcceptMessageSession(Boolean) AcceptMessageSession(Boolean) AcceptMessageSession(Boolean)

public:
 virtual Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession(bool isExclusiveMode);
public:
 Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession(bool isExclusiveMode);
Microsoft::ServiceBus::Messaging::MessageSession AcceptMessageSession(bool isExclusiveMode);
public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession (bool isExclusiveMode);
abstract member AcceptMessageSession : bool -> Microsoft.ServiceBus.Messaging.MessageSession
override this.AcceptMessageSession : bool -> Microsoft.ServiceBus.Messaging.MessageSession
Public Function AcceptMessageSession (isExclusiveMode As Boolean) As MessageSession
Parameters
Returns

AcceptMessageSession() AcceptMessageSession() AcceptMessageSession() AcceptMessageSession() AcceptMessageSession() AcceptMessageSession()

Accepts a message session that allows grouping of related messages for processing in a single transaction.

public:
 virtual Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession();
public:
 Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession();
Microsoft::ServiceBus::Messaging::MessageSession AcceptMessageSession();
public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession ();
abstract member AcceptMessageSession : unit -> Microsoft.ServiceBus.Messaging.MessageSession
override this.AcceptMessageSession : unit -> Microsoft.ServiceBus.Messaging.MessageSession
Public Function AcceptMessageSession () As MessageSession
Returns

A MessageSession that allows grouping of related messages for processing in a single transaction.

AcceptMessageSession(Boolean, TimeSpan) AcceptMessageSession(Boolean, TimeSpan) AcceptMessageSession(Boolean, TimeSpan) AcceptMessageSession(Boolean, TimeSpan)

public:
 virtual Microsoft::ServiceBus::Messaging::MessageSession ^ AcceptMessageSession(bool isExclusiveMode, TimeSpan serverWaitTime);
public Microsoft.ServiceBus.Messaging.MessageSession AcceptMessageSession (bool isExclusiveMode, TimeSpan serverWaitTime);
abstract member AcceptMessageSession : bool * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSession
override this.AcceptMessageSession : bool * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSession
Public Function AcceptMessageSession (isExclusiveMode As Boolean, serverWaitTime As TimeSpan) As MessageSession
Parameters
Returns

Applies to