Configuration Class


Specifies the service configuration settings for an eConnect application.

Constructor

[spacer]

Name

Description

Configuration()

Initializes an instance of the Configuration class.


Properties

[spacer]

Name

Type

Default

Description

MaxReadQuotaSize

int

2147483647

Specifies the maximum size of read messages. The default value is the largest possible value.

MaxReceivedMessageSize

int

2147483647

Specifies the maximum size of an XML document. The default value is the largest possible value.

ProcTimeOut

int

600

Specifies the number of seconds to wait before a time out occurs

RequireProxyService

bool

true

Specifies whether to use the identify of the logged on user or the service identity when accessing SQL server. The value true forces the application to use the service identity.

SendTimeout

System.Timespan

60 minutes

Specifies the length of time to wait when connecting to the eConnect Integration Service. Used when the RequiredProxyService is set to true.

ServiceAddress

String

net.pipe://localhost/Microsoft/Dynamics/GP/eConnect/

Specifies the URL of the eConnect Integration Service.

ServiceOperationTimeout

System.Timespan

60 minutes

Specifies the length of time to wait for an operation to complete. Used when the RequiredProxyService is set to true.

TransactionIsolationLevel

System.Transaction.IsolationLevel

ReadUncommitted

Specifies the isolation level of the transaction.

TransactionTimeoutSeconds

System.Timespan

60 minutes

Specifies the length of time to wait for a SQL transaction to complete.


Remarks

These properties are typically populated with values from the application configuration file. However, you can also set or change these properties from your application. If you change a Configuration class property in your application code, the new value overrides the value specified in the configuration file.


Documentation Feedback