Condividi tramite


LoadTestAdministrationClient.DeleteTestProfile Method

Definition

Overloads

Name Description
DeleteTestProfile(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.
DeleteTestProfile(String, CancellationToken)

Delete a test profile by its test profile Id.

DeleteTestProfile(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 Azure.Response DeleteTestProfile(string testProfileId, Azure.RequestContext context);
abstract member DeleteTestProfile : string * Azure.RequestContext -> Azure.Response
override this.DeleteTestProfile : string * Azure.RequestContext -> Azure.Response
Public Overridable Function DeleteTestProfile (testProfileId As String, context As RequestContext) As 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

DeleteTestProfile(String, CancellationToken)

Source:
LoadTestAdministrationClient.cs

Delete a test profile by its test profile Id.

public virtual Azure.Response DeleteTestProfile(string testProfileId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteTestProfile : string * System.Threading.CancellationToken -> Azure.Response
override this.DeleteTestProfile : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteTestProfile (testProfileId As String, Optional cancellationToken As CancellationToken = Nothing) As 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