NotificationHubClient.SendAdmNativeNotificationAsync Method

Definition

Overloads

SendAdmNativeNotificationAsync(String, String)

Asynchronously sends the administrative native notification.

SendAdmNativeNotificationAsync(String)

Asynchronously sends the administrative native notification.

SendAdmNativeNotificationAsync(String, IEnumerable<String>)

Asynchronously sends the administrative native notification.

SendAdmNativeNotificationAsync(String, String)

Asynchronously sends the administrative native notification.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendAdmNativeNotificationAsync (string jsonPayload, string tagExpression);
member this.SendAdmNativeNotificationAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
Public Function SendAdmNativeNotificationAsync (jsonPayload As String, tagExpression As String) As Task(Of NotificationOutcome)

Parameters

jsonPayload
System.String

The JSON payload.

tagExpression
System.String

The tag expression.

Returns

System.Threading.Tasks.Task<NotificationOutcome>

The task object representing the asynchronous operation.

Applies to

SendAdmNativeNotificationAsync(String)

Asynchronously sends the administrative native notification.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendAdmNativeNotificationAsync (string jsonPayload);
member this.SendAdmNativeNotificationAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
Public Function SendAdmNativeNotificationAsync (jsonPayload As String) As Task(Of NotificationOutcome)

Parameters

jsonPayload
System.String

The JSON payload.

Returns

System.Threading.Tasks.Task<NotificationOutcome>

The task object representing the asynchronous operation.

Applies to

SendAdmNativeNotificationAsync(String, IEnumerable<String>)

Asynchronously sends the administrative native notification.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendAdmNativeNotificationAsync (string jsonPayload, System.Collections.Generic.IEnumerable<string> tags);
member this.SendAdmNativeNotificationAsync : string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome>
Public Function SendAdmNativeNotificationAsync (jsonPayload As String, tags As IEnumerable(Of String)) As Task(Of NotificationOutcome)

Parameters

jsonPayload
System.String

The JSON payload.

tags
System.Collections.Generic.IEnumerable<System.String>

The tags.

Returns

System.Threading.Tasks.Task<NotificationOutcome>

The task object representing the asynchronous operation.

Applies to