IGatewayOperations.GetDiagnosticsAsync Method (String, CancellationToken)
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)
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
Task<GatewayDiagnosticsStatus> GetDiagnosticsAsync(
string networkName,
CancellationToken cancellationToken
)
Parameters
- networkName
-
Type:
System.String
The name of the virtual network for this gateway.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task<GatewayDiagnosticsStatus>The status of a gateway diagnostics operation.
Show: