Aracılığıyla paylaş


ServiceClient.Clone Method

Definition

Overloads

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.

Clone(ILogger)

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

public Microsoft.PowerPlatform.Dataverse.Client.ServiceClient Clone (Microsoft.Extensions.Logging.ILogger logger = default);
member this.Clone : Microsoft.Extensions.Logging.ILogger -> Microsoft.PowerPlatform.Dataverse.Client.ServiceClient
Public Function Clone (Optional logger As ILogger = Nothing) As ServiceClient

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

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.

public Microsoft.PowerPlatform.Dataverse.Client.ServiceClient Clone (System.Reflection.Assembly strongTypeAsm, Microsoft.Extensions.Logging.ILogger logger = default);
member this.Clone : System.Reflection.Assembly * Microsoft.Extensions.Logging.ILogger -> Microsoft.PowerPlatform.Dataverse.Client.ServiceClient
Public Function Clone (strongTypeAsm As Assembly, Optional logger As ILogger = Nothing) As ServiceClient

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