共用方式為


EndpointReferenceExpression.GetValueAsync(CancellationToken) Method

Definition

Gets the value of the property of the endpoint.

public System.Threading.Tasks.ValueTask<string?> GetValueAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetValueAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<string>
override this.GetValueAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<string>
Public Function GetValueAsync (cancellationToken As CancellationToken) As ValueTask(Of String)

Parameters

cancellationToken
CancellationToken

A CancellationToken.

Returns

A String containing the selected EndpointProperty value.

Implements

Exceptions

Throws when the selected EndpointProperty enumeration is not known.

Applies to