ServiceClient.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
Returns
Remarks
Clone only works for connections created using the OAuth authentication protocol.
Applies to
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
Returns
returns an active ServiceClient or null
Remarks
Clone only works for connections created using the OAuth authentication protocol.