SmsReceiver(String, 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 SmsReceiver.
public SmsReceiver (string name, string countryCode, string phoneNumber);
new Azure.ResourceManager.Insights.Models.SmsReceiver : string * string * string -> Azure.ResourceManager.Insights.Models.SmsReceiver
Public Sub New (name As String, countryCode As String, phoneNumber As String)
Parameters
- name
- System.String
The name of the SMS receiver. Names must be unique across all receivers within an action group.
- countryCode
- System.String
The country code of the SMS receiver.
- phoneNumber
- System.String
The phone number of the SMS receiver.
Exceptions
System.ArgumentNullException
name
, countryCode
, or phoneNumber
is null.