你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkIdentifier(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.