IGatewayOperations.BeginResetAsync 方法 (String, ResetGatewayParameters, CancellationToken)

 

开始重置虚拟网络网关操作将重置现有网关。

命名空间:   Microsoft.WindowsAzure.Management.Network
程序集:  Microsoft.WindowsAzure.Management.Network(Microsoft.WindowsAzure.Management.Network.dll 中)

语法

Task<GatewayOperationResponse> BeginResetAsync(
    string networkName,
    ResetGatewayParameters parameters,
    CancellationToken cancellationToken
)
Task<GatewayOperationResponse^>^ BeginResetAsync(
    String^ networkName,
    ResetGatewayParameters^ parameters,
    CancellationToken cancellationToken
)
abstract BeginResetAsync : 
        networkName:string *
        parameters:ResetGatewayParameters *
        cancellationToken:CancellationToken -> Task<GatewayOperationResponse>
Function BeginResetAsync (
    networkName As String,
    parameters As ResetGatewayParameters,
    cancellationToken As CancellationToken
) As Task(Of GatewayOperationResponse)

参数

  • networkName
    Type: System.String

    此网关的虚拟网络的的名称。

返回值

Type: System.Threading.Tasks.Task<GatewayOperationResponse>

标准服务响应,包括 HTTP 状态代码和请求 ID。

请参阅

IGatewayOperations 接口
Microsoft.WindowsAzure.Management.Network 命名空间

返回页首