VirtualNetworkManagementClient.WithHandler Method

Creates an VirtualNetworkManagementClient object with the specified handler.

Namespace: Microsoft.WindowsAzure.Management.VirtualNetworks
Assembly: Microsoft.WindowsAzure.Management.VirtualNetworks (in Microsoft.WindowsAzure.Management.VirtualNetworks.dll)

Usage

'Usage
Dim instance As VirtualNetworkManagementClient
Dim handler As DelegatingHandler
Dim returnValue As VirtualNetworkManagementClient

returnValue = instance.WithHandler(handler)

Syntax

'Declaration
Public Function WithHandler ( _
    handler As DelegatingHandler _
) As VirtualNetworkManagementClient
public VirtualNetworkManagementClient WithHandler (
    DelegatingHandler handler
)
public:
VirtualNetworkManagementClient^ WithHandler (
    DelegatingHandler^ handler
)
public VirtualNetworkManagementClient WithHandler (
    DelegatingHandler handler
)
public function WithHandler (
    handler : DelegatingHandler
) : VirtualNetworkManagementClient

Parameters

  • handler
    The handler.

Return Value

The client object with the handler.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

VirtualNetworkManagementClient Class
VirtualNetworkManagementClient Members
Microsoft.WindowsAzure.Management.VirtualNetworks Namespace