| RackConnectServiceListNetworksAsync Method |
Lists Cloud Networks associated with a RackConnect Configuration.
Namespace: Rackspace.RackConnect.v3Assembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax public Task<IEnumerable<NetworkReference>> ListNetworksAsync(
CancellationToken cancellationToken = null
)
Public Function ListNetworksAsync (
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IEnumerable(Of NetworkReference))
public:
Task<IEnumerable<NetworkReference^>^>^ ListNetworksAsync(
CancellationToken cancellationToken = nullptr
)
member ListNetworksAsync :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task<IEnumerable<NetworkReference>>
Parameters
- cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Return Value
Type:
TaskIEnumerableNetworkReference
A collection of networks associated with the account.
See Also