Logo Xanthos

ComRetryConfig Type

Configuration for COM call retry and timeout behavior. Use this to tune timeout/retry values based on expected data volume and network conditions.

Record fields

Record Field Description

MaxRetries

Full Usage: MaxRetries

Field type: int

Number of retry attempts for transient failures (communication errors). Default: 2 for general calls, 0 for read operations (which have their own retry logic).

Field type: int

Timeout

Full Usage: Timeout

Field type: TimeSpan

Maximum wait for a noninteractive COM call; expiry does not abort native work. JVOpen, JVRTOpen, JVSetUIProperties and JVMVPlay/WithType on the owned COM STA wait without this timeout because the SDK may require a user's decision. Default: 30 seconds for calls to which the timeout applies.

Field type: TimeSpan

Static members

Static member Description

ComRetryConfig.Default

Full Usage: ComRetryConfig.Default

Returns: ComRetryConfig

Default configuration: 30s timeout, 2 retries (suitable for most use cases).

Returns: ComRetryConfig

ComRetryConfig.HighVolume

Full Usage: ComRetryConfig.HighVolume

Returns: ComRetryConfig

Configuration for high-volume operations: 60s timeout, 3 retries.

Returns: ComRetryConfig

ComRetryConfig.ReadOnly

Full Usage: ComRetryConfig.ReadOnly

Returns: ComRetryConfig

Configuration for read operations: uses timeout but no retries (readAll has its own retry logic).

Returns: ComRetryConfig

Type something to start searching.