SmsReceiver(String, String, String) Constructor

Definition

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.

Applies to