EN
Ta zawartość nie jest dostępna w wymaganym języku. Wersja w języku angielskim znajduje się tutaj.

MessageSession Class

 

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

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)


No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubpropertyBatchFlushInterval

Gets the batch flush interval.(Inherited from MessageReceiver.)

System_CAPS_protpropertyBatchingEnabled

Gets a value indicating whether the batching is enabled.(Inherited from MessageReceiver.)

System_CAPS_pubpropertyIsClosed

(Inherited from ClientEntity.)

System_CAPS_pubpropertyLastPeekedSequenceNumber

Gets or sets the last peeked sequence number in the session.(Overrides MessageReceiver.LastPeekedSequenceNumber.)

System_CAPS_pubpropertyLockedUntilUtc

Gets or sets the date and time at which the message session is unlocked.

System_CAPS_pubpropertyMode

Gets the message receive mode.(Inherited from MessageReceiver.)

System_CAPS_protpropertyOffsetInclusive

(Inherited from MessageReceiver.)

System_CAPS_pubpropertyPath

Gets the path of the queue or topic, relative to the MessagingFactory base address.(Overrides MessageReceiver.Path.)

System_CAPS_pubpropertyPrefetchCount

Gets or sets the number of messages that the message receiver can simultaneously request.(Overrides MessageReceiver.PrefetchCount.)

System_CAPS_protpropertyReceiverStartTime

Gets or sets the start time of the receiver.(Inherited from MessageReceiver.)

System_CAPS_pubpropertyRetryPolicy

(Inherited from ClientEntity.)

System_CAPS_pubpropertySessionId

Gets or sets the message session identifier.

System_CAPS_protpropertyStartOffset

Gets or sets the starting point of the offset.(Inherited from MessageReceiver.)

System_CAPS_protpropertySupportsGetRuntimeEntityDescription
System_CAPS_protpropertyThisLock

(Inherited from ClientEntity.)

NameDescription
System_CAPS_pubmethodAbandon(Guid)

Discards the message and relinquishes the message lock ownership.(Inherited from MessageReceiver.)

System_CAPS_pubmethodAbandon(Guid, IDictionary<String, Object>)

Discards the message and relinquishes the message lock ownership.(Inherited from MessageReceiver.)

System_CAPS_pubmethodAbandonAsync(Guid)

Asynchronously discards the message and relinquishes the message lock ownership.(Inherited from MessageReceiver.)

System_CAPS_pubmethodAbandonAsync(Guid, IDictionary<String, Object>)

Asynchronously discards the message and relinquishes the message lock ownership.(Inherited from MessageReceiver.)

System_CAPS_pubmethodAbort()

Performs abort functionality on the messaging entity.(Inherited from ClientEntity.)

System_CAPS_pubmethodClose()

Sends a cleanup message to Service Bus to signal the completion of the usage of an entity.(Inherited from ClientEntity.)

System_CAPS_pubmethodCloseAsync()

Sends a cleanup message asynchronously to Service Bus to signal the completion of the usage of an entity.(Inherited from ClientEntity.)

System_CAPS_pubmethodComplete(Guid)

Completes the receive operation on a message.(Inherited from MessageReceiver.)

System_CAPS_pubmethodCompleteAsync(Guid)

Asynchronously completes the receive operation on a message.(Inherited from MessageReceiver.)

System_CAPS_pubmethodCompleteBatch(IEnumerable<Guid>)

Completes the receive operation on a batch of message.(Inherited from MessageReceiver.)

System_CAPS_pubmethodCompleteBatchAsync(IEnumerable<Guid>)

Asynchronously completes the receive operation on a batch of message.(Inherited from MessageReceiver.)

System_CAPS_pubmethodDeadLetter(Guid)

Moves the undelivered message to the dead letter queue.(Inherited from MessageReceiver.)

System_CAPS_pubmethodDeadLetter(Guid, IDictionary<String, Object>)

Moves the undelivered message to the dead letter queue.(Inherited from MessageReceiver.)

System_CAPS_pubmethodDeadLetter(Guid, String, String)

Moves the undelivered message to the dead letter queue.(Inherited from MessageReceiver.)

System_CAPS_pubmethodDeadLetterAsync(Guid)

Asynchronously moves the undelivered message to the dead letter queue.(Inherited from MessageReceiver.)

System_CAPS_pubmethodDeadLetterAsync(Guid, IDictionary<String, Object>)

Asynchronously moves the undelivered message to the dead letter queue.(Inherited from MessageReceiver.)

System_CAPS_pubmethodDeadLetterAsync(Guid, String, String)

Asynchronously moves the undelivered message to the dead letter queue.(Inherited from MessageReceiver.)

System_CAPS_pubmethodDefer(Guid)

Indicates that the receiver wants to defer the processing for the message.(Inherited from MessageReceiver.)

System_CAPS_pubmethodDefer(Guid, IDictionary<String, Object>)

Indicates that the receiver wants to defer the processing for the message.(Inherited from MessageReceiver.)

System_CAPS_pubmethodDeferAsync(Guid)

Asynchronously defer the processing of the message.(Inherited from MessageReceiver.)

System_CAPS_pubmethodDeferAsync(Guid, IDictionary<String, Object>)

Asynchronously defer the processing of the message.(Inherited from MessageReceiver.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFault()

For internal use only. Do not inherit from this class.(Inherited from ClientEntity.)

System_CAPS_protmethodFinalize()

(Inherited from ClientEntity.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetProperty<'T>()

(Inherited from MessageReceiver.)

System_CAPS_pubmethodGetState()

Gets the state of the message session.

System_CAPS_pubmethodGetStateAsync()

Asynchronously gets the state of the message session.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnAbandon(TrackingContext, IEnumerable<Guid>, IDictionary<String, Object>, TimeSpan)
System_CAPS_protmethodOnAbort()

Aborts the message session. (Overrides ClientEntity.OnAbort().)

System_CAPS_protmethodOnBeginAbandon(TrackingContext, IEnumerable<Guid>, IDictionary<String, Object>, Boolean, TimeSpan, AsyncCallback, Object)
System_CAPS_protmethodOnBeginClose(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to close the communication object for the message session.(Overrides ClientEntity.OnBeginClose(TimeSpan, AsyncCallback, Object).)

System_CAPS_protmethodOnBeginComplete(TrackingContext, IEnumerable<ArraySegment<Byte>>, Boolean, TimeSpan, AsyncCallback, Object)
System_CAPS_protmethodOnBeginComplete(TrackingContext, IEnumerable<Guid>, Boolean, TimeSpan, AsyncCallback, Object)
System_CAPS_protmethodOnBeginDeadLetter(TrackingContext, IEnumerable<Guid>, IDictionary<String, Object>, String, String, Boolean, TimeSpan, AsyncCallback, Object)
System_CAPS_protmethodOnBeginDefer(TrackingContext, IEnumerable<Guid>, IDictionary<String, Object>, Boolean, TimeSpan, AsyncCallback, Object)
System_CAPS_protmethodOnBeginGetState(TrackingContext, TimeSpan, AsyncCallback, Object)

Executes the begin get state action.

System_CAPS_protmethodOnBeginOpen(TimeSpan, AsyncCallback, Object)

Executes upon calling the OnOpen operation of the message receiver.(Overrides ClientEntity.OnBeginOpen(TimeSpan, AsyncCallback, Object).)

System_CAPS_protmethodOnBeginPeek(TrackingContext, Int64, Int32, TimeSpan, AsyncCallback, Object)

Executes upon calling the OnPeek or BeginPeek operation.(Overrides MessageReceiver.OnBeginPeek(TrackingContext, Int64, Int32, TimeSpan, AsyncCallback, Object).)

System_CAPS_protmethodOnBeginRenewLock(TrackingContext, TimeSpan, AsyncCallback, Object)

Executes upon calling the RenewLock or BeginRenewLock operation.

System_CAPS_protmethodOnBeginRenewMessageLocks(TrackingContext, IEnumerable<Guid>, Boolean, TimeSpan, AsyncCallback, Object)
System_CAPS_protmethodOnBeginSetState(TrackingContext, Stream, TimeSpan, AsyncCallback, Object)

Executes the begin set state action.

System_CAPS_protmethodOnBeginTryReceive(TrackingContext, IEnumerable<Int64>, TimeSpan, AsyncCallback, Object)
System_CAPS_protmethodOnBeginTryReceive(TrackingContext, Int32, TimeSpan, AsyncCallback, Object)
System_CAPS_protmethodOnBeginTryReceive2(TrackingContext, Int32, TimeSpan, AsyncCallback, Object)
System_CAPS_protmethodOnBeginTryReceiveEventData(TrackingContext, Int32, TimeSpan, AsyncCallback, Object)

Executes upon calling the OnTryReceive or BeginTryReceive operation for the event data.(Inherited from MessageReceiver.)

System_CAPS_protmethodOnClose(TimeSpan)

(Inherited from ClientEntity.)

System_CAPS_protmethodOnClosed()

(Inherited from ClientEntity.)

System_CAPS_protmethodOnComplete(TrackingContext, IEnumerable<Guid>, TimeSpan)
System_CAPS_protmethodOnDeadLetter(TrackingContext, IEnumerable<Guid>, IDictionary<String, Object>, String, String, TimeSpan)
System_CAPS_protmethodOnDefer(TrackingContext, IEnumerable<Guid>, IDictionary<String, Object>, TimeSpan)
System_CAPS_protmethodOnEndAbandon(IAsyncResult)

Ends an asynchronous operation to abandon the message and relinquish its lock.(Overrides MessageReceiver.OnEndAbandon(IAsyncResult).)

System_CAPS_protmethodOnEndClose(IAsyncResult)

Ends an asynchronous operation to close the communication object for the message session.(Overrides ClientEntity.OnEndClose(IAsyncResult).)

System_CAPS_protmethodOnEndComplete(IAsyncResult)

Executes the end complete operation of the message receiver.(Overrides MessageReceiver.OnEndComplete(IAsyncResult).)

System_CAPS_protmethodOnEndDeadLetter(IAsyncResult)

Executes the end deadletter operation of the message receiver.(Overrides MessageReceiver.OnEndDeadLetter(IAsyncResult).)

System_CAPS_protmethodOnEndDefer(IAsyncResult)

Executes the end defer operation of the message receiver.(Overrides MessageReceiver.OnEndDefer(IAsyncResult).)

System_CAPS_protmethodOnEndGetState(IAsyncResult)

Executes upon calling the OnGetState or EndGetState operation.

System_CAPS_protmethodOnEndOpen(IAsyncResult)

Ends the asynchronous operation to open a communication object for the message session.(Overrides ClientEntity.OnEndOpen(IAsyncResult).)

System_CAPS_protmethodOnEndPeek(IAsyncResult)

Executes upon calling the EndPeek operation.(Overrides MessageReceiver.OnEndPeek(IAsyncResult).)

System_CAPS_protmethodOnEndRenewLock(IAsyncResult)

Executes the EndRenewLock operation of the message receiver.

System_CAPS_protmethodOnEndRenewMessageLocks(IAsyncResult)

Executes the EndRenew action for message locks.(Overrides MessageReceiver.OnEndRenewMessageLocks(IAsyncResult).)

System_CAPS_protmethodOnEndSetState(IAsyncResult)

Ends the asynchronous operation to set the state of the message session.

System_CAPS_protmethodOnEndTryReceive(IAsyncResult, IEnumerable<BrokeredMessage>)

Executes the end try receive operation of the message receiver.(Overrides MessageReceiver.OnEndTryReceive(IAsyncResult, IEnumerable<BrokeredMessage>).)

System_CAPS_protmethodOnEndTryReceive2(IAsyncResult, IEnumerable<BrokeredMessage>)

Executes the end try receive operation of the message receiver.(Overrides MessageReceiver.OnEndTryReceive2(IAsyncResult, IEnumerable<BrokeredMessage>).)

System_CAPS_protmethodOnEndTryReceiveEventData(IAsyncResult, IEnumerable<EventData>)

Executes the EndTryReceive action for the event data.(Inherited from MessageReceiver.)

System_CAPS_protmethodOnFaulted()

(Inherited from ClientEntity.)

System_CAPS_protmethodOnGetState(TrackingContext, TimeSpan)

Executes the get state action.

System_CAPS_pubmethodOnMessage(Action<BrokeredMessage>, OnMessageOptions)

Processes a message in an event-driven message pump.(Inherited from MessageReceiver.)

System_CAPS_pubmethodOnMessageAsync(Func<BrokeredMessage, Task>, OnMessageOptions)

Asynchronously processes a message in an event-driven message pump.(Inherited from MessageReceiver.)

System_CAPS_protmethodOnOpen(TimeSpan)

(Inherited from ClientEntity.)

System_CAPS_protmethodOnOpened()

(Inherited from ClientEntity.)

System_CAPS_protmethodOnPeek(TrackingContext, Int64, Int32, TimeSpan)

Executes upon calling the Peek operation.(Inherited from MessageReceiver.)

System_CAPS_protmethodOnRenewLock(TrackingContext, TimeSpan)

Executes the RenewLock action for message locks.

System_CAPS_protmethodOnRenewMessageLocks(TrackingContext, IEnumerable<Guid>, TimeSpan)

Executes the Renew action for lock messages.(Inherited from MessageReceiver.)

System_CAPS_protmethodOnSetState(TrackingContext, Stream, TimeSpan)

Executes the set state action.

System_CAPS_protmethodOnTryReceive(TrackingContext, IEnumerable<Int64>, TimeSpan, IEnumerable<BrokeredMessage>)
System_CAPS_protmethodOnTryReceive(TrackingContext, Int32, TimeSpan, IEnumerable<BrokeredMessage>)
System_CAPS_pubmethodPeek()

Reads the next message without changing the state of the receiver or the message source.(Inherited from MessageReceiver.)

System_CAPS_pubmethodPeek(Int64)

Reads the next message without changing the state of the receiver or the message source.(Inherited from MessageReceiver.)

System_CAPS_pubmethodPeekAsync()

Asynchronously reads the next message without changing the state of the receiver or the message source.(Inherited from MessageReceiver.)

System_CAPS_pubmethodPeekAsync(Int64)

Asynchronously reads the next message without changing the state of the receiver or the message source.(Inherited from MessageReceiver.)

System_CAPS_pubmethodPeekBatch(Int32)

Reads the next batch of message without changing the state of the receiver or the message source.(Inherited from MessageReceiver.)

System_CAPS_pubmethodPeekBatch(Int64, Int32)

Reads the next batch of message without changing the state of the receiver or the message source.(Inherited from MessageReceiver.)

System_CAPS_pubmethodPeekBatchAsync(Int32)

Asynchronously reads the next batch of message without changing the state of the receiver or the message source.(Inherited from MessageReceiver.)

System_CAPS_pubmethodPeekBatchAsync(Int64, Int32)

Asynchronously reads the next batch of message without changing the state of the receiver or the message source.(Inherited from MessageReceiver.)

System_CAPS_protmethodProcessException(Exception)

System_CAPS_pubmethodReceive()

Receives a BrokeredMessage from the current queue or topic.(Inherited from MessageReceiver.)

System_CAPS_pubmethodReceive(Int64)

Receives a message from the current queue or topic.(Inherited from MessageReceiver.)

System_CAPS_pubmethodReceive(TimeSpan)

Receives a BrokeredMessage from the current queue or topic.(Inherited from MessageReceiver.)

System_CAPS_pubmethodReceiveAsync()

Asynchronously receives a message from the current queue or topic.(Inherited from MessageReceiver.)

System_CAPS_pubmethodReceiveAsync(Int64)

Asynchronously receives a message from the current queue or topic.(Inherited from MessageReceiver.)

System_CAPS_pubmethodReceiveAsync(TimeSpan)

Asynchronously receives a message from the current queue or topic.(Inherited from MessageReceiver.)

System_CAPS_pubmethodReceiveBatch(IEnumerable<Int64>)

Receives a batch of messages.(Inherited from MessageReceiver.)

System_CAPS_pubmethodReceiveBatch(Int32)

Receives a batch of messages.(Inherited from MessageReceiver.)

System_CAPS_pubmethodReceiveBatch(Int32, TimeSpan)

Receives a batch of messages.(Inherited from MessageReceiver.)

System_CAPS_pubmethodReceiveBatchAsync(IEnumerable<Int64>)

Asynchronously receives a batch of messages.(Inherited from MessageReceiver.)

System_CAPS_pubmethodReceiveBatchAsync(Int32)

Asynchronously receives a batch of messages.(Inherited from MessageReceiver.)

System_CAPS_pubmethodReceiveBatchAsync(Int32, TimeSpan)

Asynchronously receives a batch of messages.(Inherited from MessageReceiver.)

System_CAPS_pubmethodRenewLock()

Specifies the time period within which the host renews its lock on a message.

System_CAPS_pubmethodRenewLockAsync()

Specifies the time period within which the host renews its lock on a message.

System_CAPS_pubmethodSetState(Stream)

Sets the state of the message session.

System_CAPS_pubmethodSetStateAsync(Stream)

Asynchronously sets the state of the message session.

System_CAPS_protmethodThrowIfClosed()

(Inherited from ClientEntity.)

System_CAPS_protmethodThrowIfDisposed()

(Inherited from ClientEntity.)

System_CAPS_protmethodThrowIfDisposedOrImmutable()

(Inherited from ClientEntity.)

System_CAPS_protmethodThrowIfDisposedOrNotOpen()

(Inherited from ClientEntity.)

System_CAPS_protmethodThrowIfFaulted()

(Inherited from ClientEntity.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Pokaż: