ConnectionsClient.GetWorkspaceAsync 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
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.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
- Please try the simpler GetWorkspaceAsync(CancellationToken) convenience overload with strongly typed models first.
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
Azure SDK for .NET