Udostępnij za pośrednictwem


IGatewayOperations.GetDiagnosticsAsync(String, CancellationToken) Method

Definition

The Get Diagnostics operation gets information about the current gateway diagnostics session for the specified virtual network in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154119.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayDiagnosticsStatus> GetDiagnosticsAsync (string networkName, System.Threading.CancellationToken cancellationToken);
abstract member GetDiagnosticsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayDiagnosticsStatus>
Public Function GetDiagnosticsAsync (networkName As String, cancellationToken As CancellationToken) As Task(Of GatewayDiagnosticsStatus)

Parameters

networkName
String

The name of the virtual network for this gateway.

cancellationToken
CancellationToken

Cancellation token.

Returns

The status of a gateway diagnostics operation.

Applies to