SALES: 1-800-867-1380

NotificationHubClient.CreateGcmTemplateRegistrationAsync Method (String, String)

Asynchronously creates GCM template registration.

Namespace:  Microsoft.ServiceBus.Notifications
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public Task<GcmTemplateRegistrationDescription> CreateGcmTemplateRegistrationAsync(
	string gcmRegistrationId,
	string jsonPayload
)

Parameters

gcmRegistrationId
Type: System.String
The GCM registration ID.
jsonPayload
Type: System.String
The JSON payload.

Return Value

Type: System.Threading.Tasks.Task<GcmTemplateRegistrationDescription>
The task that completes the asynchronous operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft