共用方式為


BaiduNotification Constructors

Definition

Overloads

BaiduNotification(String)

Initializes a new instance of the BaiduNotification class.

BaiduNotification(String, Nullable<Int32>)

Initializes a new instance of the BaiduNotification class.

BaiduNotification(String)

Initializes a new instance of the BaiduNotification class.

public BaiduNotification (string message);
new Microsoft.Azure.NotificationHubs.BaiduNotification : string -> Microsoft.Azure.NotificationHubs.BaiduNotification
Public Sub New (message As String)

Parameters

message
String

The message.

Applies to

BaiduNotification(String, Nullable<Int32>)

Initializes a new instance of the BaiduNotification class.

public BaiduNotification (string message, int? messageType);
new Microsoft.Azure.NotificationHubs.BaiduNotification : string * Nullable<int> -> Microsoft.Azure.NotificationHubs.BaiduNotification
Public Sub New (message As String, messageType As Nullable(Of Integer))

Parameters

message
String

The message.

messageType
Nullable<Int32>

Type of the message.

Exceptions

Thrown when a Baidu notification message.description is null

Applies to