Beispiel #1
0
 /// <summary>Snippet for VerifyNotificationChannel</summary>
 public void VerifyNotificationChannel()
 {
     // Snippet: VerifyNotificationChannel(NotificationChannelName,string,CallSettings)
     // Create client
     NotificationChannelServiceClient notificationChannelServiceClient = NotificationChannelServiceClient.Create();
     // Initialize request argument(s)
     NotificationChannelName name = new NotificationChannelName("[PROJECT]", "[NOTIFICATION_CHANNEL]");
     string code = "";
     // Make the request
     NotificationChannel response = notificationChannelServiceClient.VerifyNotificationChannel(name, code);
     // End snippet
 }
Beispiel #2
0
 /// <summary>Snippet for VerifyNotificationChannel</summary>
 public void VerifyNotificationChannel_RequestObject()
 {
     // Snippet: VerifyNotificationChannel(VerifyNotificationChannelRequest,CallSettings)
     // Create client
     NotificationChannelServiceClient notificationChannelServiceClient = NotificationChannelServiceClient.Create();
     // Initialize request argument(s)
     VerifyNotificationChannelRequest request = new VerifyNotificationChannelRequest
     {
         NotificationChannelName = new NotificationChannelName("[PROJECT]", "[NOTIFICATION_CHANNEL]"),
         Code = "",
     };
     // Make the request
     NotificationChannel response = notificationChannelServiceClient.VerifyNotificationChannel(request);
     // End snippet
 }