Exemple #1
0
 /// <summary>Snippet for UpdateService</summary>
 public void UpdateService()
 {
     // Snippet: UpdateService(Service,CallSettings)
     // Create client
     ServiceMonitoringServiceClient serviceMonitoringServiceClient = ServiceMonitoringServiceClient.Create();
     // Initialize request argument(s)
     Service service = new Service();
     // Make the request
     Service response = serviceMonitoringServiceClient.UpdateService(service);
     // End snippet
 }
Exemple #2
0
 /// <summary>Snippet for UpdateService</summary>
 public void UpdateService_RequestObject()
 {
     // Snippet: UpdateService(UpdateServiceRequest,CallSettings)
     // Create client
     ServiceMonitoringServiceClient serviceMonitoringServiceClient = ServiceMonitoringServiceClient.Create();
     // Initialize request argument(s)
     UpdateServiceRequest request = new UpdateServiceRequest
     {
         Service = new Service(),
     };
     // Make the request
     Service response = serviceMonitoringServiceClient.UpdateService(request);
     // End snippet
 }