Condividi tramite


LoadTestAdministrationClient.DeleteTestProfileAsync Method

Definition

Overloads

Name Description
DeleteTestProfileAsync(String, RequestContext)

[Protocol Method] Delete a test profile by its test profile Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteTestProfileAsync(String, CancellationToken)

Delete a test profile by its test profile Id.

DeleteTestProfileAsync(String, RequestContext)

Source:
LoadTestAdministrationClient.cs

[Protocol Method] Delete a test profile by its test profile Id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteTestProfileAsync(string testProfileId, Azure.RequestContext context);
abstract member DeleteTestProfileAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteTestProfileAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteTestProfileAsync (testProfileId As String, context As RequestContext) As Task(Of Response)

Parameters

testProfileId
String

Unique identifier for the test profile, must contain only lower-case alphabetic, numeric, underscore or hyphen characters.

context
RequestContext

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

Returns

The response returned from the service.

Exceptions

testProfileId is null.

testProfileId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

DeleteTestProfileAsync(String, CancellationToken)

Source:
LoadTestAdministrationClient.cs

Delete a test profile by its test profile Id.

public virtual System.Threading.Tasks.Task<Azure.Response> DeleteTestProfileAsync(string testProfileId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteTestProfileAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteTestProfileAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteTestProfileAsync (testProfileId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

testProfileId
String

Unique identifier for the test profile, must contain only lower-case alphabetic, numeric, underscore or hyphen characters.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

testProfileId is null.

testProfileId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to