Share via


NotificationHubClient.CreateFcmNativeRegistrationAsync Method

Definition

Overloads

CreateFcmNativeRegistrationAsync(String, IEnumerable<String>, CancellationToken)

Asynchronously creates FCM native registration.

CreateFcmNativeRegistrationAsync(String, CancellationToken)

Asynchronously creates FCM native registration.

CreateFcmNativeRegistrationAsync(String)

Asynchronously creates FCM native registration.

CreateFcmNativeRegistrationAsync(String, IEnumerable<String>)

Asynchronously creates FCM native registration.

CreateFcmNativeRegistrationAsync(String, IEnumerable<String>, CancellationToken)

Asynchronously creates FCM native registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.FcmRegistrationDescription> CreateFcmNativeRegistrationAsync (string fcmRegistrationId, System.Collections.Generic.IEnumerable<string> tags, System.Threading.CancellationToken cancellationToken);
abstract member CreateFcmNativeRegistrationAsync : string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.FcmRegistrationDescription>
override this.CreateFcmNativeRegistrationAsync : string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.FcmRegistrationDescription>
Public Function CreateFcmNativeRegistrationAsync (fcmRegistrationId As String, tags As IEnumerable(Of String), cancellationToken As CancellationToken) As Task(Of FcmRegistrationDescription)

Parameters

fcmRegistrationId
String

The FCM registration ID.

tags
IEnumerable<String>

The tags.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

The task that completes the asynchronous operation.

Implements

Applies to

CreateFcmNativeRegistrationAsync(String, CancellationToken)

Asynchronously creates FCM native registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.FcmRegistrationDescription> CreateFcmNativeRegistrationAsync (string fcmRegistrationId, System.Threading.CancellationToken cancellationToken);
abstract member CreateFcmNativeRegistrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.FcmRegistrationDescription>
override this.CreateFcmNativeRegistrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.FcmRegistrationDescription>
Public Function CreateFcmNativeRegistrationAsync (fcmRegistrationId As String, cancellationToken As CancellationToken) As Task(Of FcmRegistrationDescription)

Parameters

fcmRegistrationId
String

The FCM registration ID.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

The task that completes the asynchronous operation.

Implements

Applies to

CreateFcmNativeRegistrationAsync(String)

Asynchronously creates FCM native registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.FcmRegistrationDescription> CreateFcmNativeRegistrationAsync (string fcmRegistrationId);
abstract member CreateFcmNativeRegistrationAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.FcmRegistrationDescription>
override this.CreateFcmNativeRegistrationAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.FcmRegistrationDescription>
Public Function CreateFcmNativeRegistrationAsync (fcmRegistrationId As String) As Task(Of FcmRegistrationDescription)

Parameters

fcmRegistrationId
String

The FCM registration ID.

Returns

The task that completes the asynchronous operation.

Implements

Applies to

CreateFcmNativeRegistrationAsync(String, IEnumerable<String>)

Asynchronously creates FCM native registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.FcmRegistrationDescription> CreateFcmNativeRegistrationAsync (string fcmRegistrationId, System.Collections.Generic.IEnumerable<string> tags);
abstract member CreateFcmNativeRegistrationAsync : string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.FcmRegistrationDescription>
override this.CreateFcmNativeRegistrationAsync : string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.FcmRegistrationDescription>
Public Function CreateFcmNativeRegistrationAsync (fcmRegistrationId As String, tags As IEnumerable(Of String)) As Task(Of FcmRegistrationDescription)

Parameters

fcmRegistrationId
String

The FCM registration ID.

tags
IEnumerable<String>

The tags.

Returns

The task that completes the asynchronous operation.

Implements

Applies to