Skip to main content

DataverseClientOptions

  • Namespace: PPDS.Dataverse.Client
  • Assembly: PPDS.Dataverse
  • Kind: Class

Summary

Options for configuring a Dataverse client request. Used to customize behavior when acquiring a client from the pool.

Members

Constructors

DataverseClientOptions()

DataverseClientOptions()

Creates a new instance of PPDS.Dataverse.Client.DataverseClientOptions with default values.

DataverseClientOptions(Guid callerId)

DataverseClientOptions(Guid callerId)

Creates a new instance of PPDS.Dataverse.Client.DataverseClientOptions for impersonation.

  • Param callerId: The caller ID for impersonation.

Properties

CallerAADObjectId

Nullable<Guid> CallerAADObjectId { get; set; }

Gets or sets the caller AAD object ID for impersonation. Alternative to CallerId for AAD-based impersonation.

CallerId

Nullable<Guid> CallerId { get; set; }

Gets or sets the caller ID for impersonation. When set, operations will be performed on behalf of this user.

MaxRetryCount

Nullable<int> MaxRetryCount { get; set; }

Gets or sets the maximum number of retry attempts for transient failures. When null, uses the default configured on the pool.

RetryPauseTime

Nullable<TimeSpan> RetryPauseTime { get; set; }

Gets or sets the pause time between retry attempts. When null, uses the default configured on the pool.