ApprovalClient Constructors
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
ApprovalClient() |
Initializes a new instance of ApprovalClient for mocking. |
ApprovalClient(Uri, TokenCredential) |
Initializes a new instance of ApprovalClient. |
ApprovalClient(Uri, TokenCredential, PurviewWorkflowServiceClientOptions) |
Initializes a new instance of ApprovalClient. |
ApprovalClient()
- Source:
- ApprovalClient.cs
Initializes a new instance of ApprovalClient for mocking.
protected ApprovalClient ();
Protected Sub New ()
Applies to
ApprovalClient(Uri, TokenCredential)
- Source:
- ApprovalClient.cs
Initializes a new instance of ApprovalClient.
public ApprovalClient (Uri endpoint, Azure.Core.TokenCredential credential);
new Azure.Analytics.Purview.Workflows.ApprovalClient : Uri * Azure.Core.TokenCredential -> Azure.Analytics.Purview.Workflows.ApprovalClient
Public Sub New (endpoint As Uri, credential As TokenCredential)
Parameters
- endpoint
- Uri
The account endpoint of your Purview account. Example: https://{accountName}.purview.azure.com/.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
Exceptions
endpoint
or credential
is null.
Applies to
ApprovalClient(Uri, TokenCredential, PurviewWorkflowServiceClientOptions)
- Source:
- ApprovalClient.cs
Initializes a new instance of ApprovalClient.
public ApprovalClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Workflows.PurviewWorkflowServiceClientOptions options);
new Azure.Analytics.Purview.Workflows.ApprovalClient : Uri * Azure.Core.TokenCredential * Azure.Analytics.Purview.Workflows.PurviewWorkflowServiceClientOptions -> Azure.Analytics.Purview.Workflows.ApprovalClient
Public Sub New (endpoint As Uri, credential As TokenCredential, options As PurviewWorkflowServiceClientOptions)
Parameters
- endpoint
- Uri
The account endpoint of your Purview account. Example: https://{accountName}.purview.azure.com/.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
The options for configuring the client.
Exceptions
endpoint
or credential
is null.
Applies to
Azure SDK for .NET