Edytuj

Udostępnij za pośrednictwem


MessagingOptions Class

Definition

Specifies global messaging options that are common to client and silo.

public abstract class MessagingOptions
type MessagingOptions = class
Public MustInherit Class MessagingOptions
Inheritance
MessagingOptions
Derived

Constructors

MessagingOptions()

Fields

DEFAULT_BUFFER_POOL_BUFFER_SIZE
DEFAULT_BUFFER_POOL_MAX_SIZE
DEFAULT_BUFFER_POOL_PREALLOCATION_SIZE
DEFAULT_DROP_EXPIRED_MESSAGES
DEFAULT_LARGE_MESSAGE_WARNING_THRESHOLD
DEFAULT_MAX_MESSAGE_BODY_SIZE
DEFAULT_MAX_MESSAGE_HEADER_SIZE
DEFAULT_PROPAGATE_E2E_ACTIVITY_ID
DEFAULT_RESPONSE_TIMEOUT
RESPONSE_TIMEOUT_WITH_DEBUGGER

Properties

BufferPoolBufferSize

The size of a buffer in the messaging buffer pool.

BufferPoolMaxSize

The maximum size of the messaging buffer pool.

BufferPoolPreallocationSize

The initial size of the messaging buffer pool that is pre-allocated.

DropExpiredMessages

Gets or sets a value indicating whether messages should be dropped once they expire, that is if it was not delivered to the destination before it has timed out on the sender.

LargeMessageWarningThreshold

The LargeMessageWarningThreshold attribute specifies when to generate a warning trace message for large messages.

MaxMessageBodySize

The maximum size, in bytes, of the body for a message. The runtime will forcibly close the connection if the body size is greater than this value.

MaxMessageHeaderSize

The maximum size, in bytes, of the header for a message. The runtime will forcibly close the connection if the header size is greater than this value.

MaxResendCount

The MaxResendCount attribute specifies the maximal number of resends of the same message.

PropagateActivityId

Whether Trace.CorrelationManager.ActivityId settings should be propagated into grain calls.

ResendOnTimeout

The ResendOnTimeout attribute specifies whether the message should be automatically resend by the runtime when it times out on the sender. Default is false.

ResponseTimeout

Gets or sets the default timeout before a request is assumed to have failed.

ResponseTimeoutWithDebugger

Gets or sets the effective ResponseTimeout value to use when a debugger is attached.

Applies to