ServiceClient.Clone Method

Definition

Overloads

Clone(Assembly, ILogger)

Clone, 'Clones" the current Dataverse Service client with a new connection to Dataverse. Clone only works for connections creating using OAuth Protocol.

Clone(ILogger)

Clone, 'Clones" the current Dataverse ServiceClient with a new connection to Dataverse. Clone only works for connections creating using OAuth Protocol.

Clone(Assembly, ILogger)

Clone, 'Clones" the current Dataverse Service client with a new connection to Dataverse. Clone only works for connections creating using OAuth Protocol.

C#
public Microsoft.PowerPlatform.Dataverse.Client.ServiceClient Clone(System.Reflection.Assembly strongTypeAsm, Microsoft.Extensions.Logging.ILogger logger = default);

Parameters

strongTypeAsm
Assembly

Strong Type Assembly to reference as part of the create of the clone.

logger
ILogger

Logging provider ILogger

Returns

Remarks

Clone only works for connections created using the OAuth authentication protocol.

Applies to

Dataverse SDK Latest
Produit Versions
Dataverse SDK Latest

Clone(ILogger)

Clone, 'Clones" the current Dataverse ServiceClient with a new connection to Dataverse. Clone only works for connections creating using OAuth Protocol.

C#
public Microsoft.PowerPlatform.Dataverse.Client.ServiceClient Clone(Microsoft.Extensions.Logging.ILogger logger = default);

Parameters

logger
ILogger

Logging provider ILogger

Returns

returns an active ServiceClient or null

Remarks

Clone only works for connections created using the OAuth authentication protocol.

Applies to

Dataverse SDK Latest
Produit Versions
Dataverse SDK Latest