Sdílet prostřednictvím


ConnectionsClient.GetWorkspaceAsync Method

Definition

Overloads

GetWorkspaceAsync(RequestContext)

[Protocol Method] Gets the properties of the specified machine learning workspace.

GetWorkspaceAsync(CancellationToken)

Gets the properties of the specified machine learning workspace.

GetWorkspaceAsync(RequestContext)

Source:
ConnectionsClient.cs

[Protocol Method] Gets the properties of the specified machine learning workspace.

public virtual System.Threading.Tasks.Task<Azure.Response> GetWorkspaceAsync (Azure.RequestContext context);
abstract member GetWorkspaceAsync : Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetWorkspaceAsync : Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetWorkspaceAsync (context As RequestContext) As Task(Of Response)

Parameters

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

Service returned a non-success status code.

Applies to

GetWorkspaceAsync(CancellationToken)

Source:
ConnectionsClient.cs

Gets the properties of the specified machine learning workspace.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.Projects.GetWorkspaceResponse>> GetWorkspaceAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetWorkspaceAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Projects.GetWorkspaceResponse>>
override this.GetWorkspaceAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Projects.GetWorkspaceResponse>>
Public Overridable Function GetWorkspaceAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GetWorkspaceResponse))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to