Share via


NetworkIdentifier(String, String) Constructor

Definition

Initializes a new instance of NetworkIdentifier.

public NetworkIdentifier (string identifierType, string identifier);
new Azure.Communication.ProgrammableConnectivity.NetworkIdentifier : string * string -> Azure.Communication.ProgrammableConnectivity.NetworkIdentifier
Public Sub New (identifierType As String, identifier As String)

Parameters

identifierType
String

The type of identifier for the network. one of: 'IPv4', 'IPv6', 'NetworkCode'.

identifier
String

The network identifier, based on the identifierType: an IPv4 address, and IPv6 address, or a Network Code. A Network Code may be obtained from APC documentation or from the APC /Network:retrieve endpoint.

Exceptions

identifierType or identifier is null.

Applies to