Share via


FabricTransportRemotingSettings Class

Definition

Represents a settings that configures the FabricTransport communication.

public class FabricTransportRemotingSettings
type FabricTransportRemotingSettings = class
Public Class FabricTransportRemotingSettings
Inheritance
FabricTransportRemotingSettings

Constructors

FabricTransportRemotingSettings()

Initializes a new instance of the FabricTransportRemotingSettings class with default values.

Properties

ConnectTimeout

Gets or sets the maximum time allowed for the connection to be established successfully.

ExceptionDeserializationTechnique

Gets or sets the exception deserialization techinique to use.

HeaderBufferSize

Gets or sets the size of the each header buffer.

HeaderMaxBufferCount

Gets or sets the maximum number of header buffers assigned to the BufferPool.

KeepAliveTimeout

Gets or sets the KeepAliveTimeout that provides a way to configure Tcp keep-alive option.

MaxConcurrentCalls

Gets or sets the maximum number of messages actively service processes at one time.

MaxMessageSize

Gets or sets the maximum size for a message that can be received on a channel configured with this setting.

MaxQueueSize

Gets or sets the maximum size, of a queue that stores messages while they are processed for an endpoint configured with this setting.

OperationTimeout

Gets or sets the operation Timeout which governs the whole process of sending a message, including receiving a reply message for a request/reply service operation. This timeout also applies when sending reply messages from a callback contract method.

SecurityCredentials

Gets or sets the security credentials for securing the communication.

UseWrappedMessage

Gets or sets a value indicating whether the remoting method parameters should be wrapped or not before sending it over the wire. When UseWrappedMessage is set to false, parameters will not be wrapped. When this value is set to true, the parameters will be wrapped.Default value is false.

Methods

LoadFrom(String, String, String)

Loads the FabricTransport settings from a sectionName specified in the configuration file. Configuration File can be specified using the filePath or using the name of the configuration package specified in the service manifest. It will first try to load config using configPackageName. If configPackageName is not specified then try to load from filePath.

TryLoadFrom(String, FabricTransportRemotingSettings, String, String)

Try to load the FabricTransport settings from a sectionName specified in the configuration file. Configuration File can be specified using the filePath or using the name of the configuration package specified in the service manifest. It will first try to load config using configPackageName. If configPackageName is not specified then try to load from filePath.

Applies to