Esempio n. 1
0
 public void GetGroup()
 {
     // Snippet: GetGroup(string,CallSettings)
     // Create client
     ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.Create();
     // Initialize request argument(s)
     string formattedGroupName = ErrorGroupServiceClient.FormatGroupName("[PROJECT]", "[GROUP]");
     // Make the request
     ErrorGroup response = errorGroupServiceClient.GetGroup(formattedGroupName);
     // End snippet
 }
Esempio n. 2
0
        public async Task GetGroupAsync()
        {
            // Snippet: GetGroupAsync(string,CallSettings)
            // Additional: GetGroupAsync(string,CancellationToken)
            // Create client
            ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.Create();
            // Initialize request argument(s)
            string formattedGroupName = ErrorGroupServiceClient.FormatGroupName("[PROJECT]", "[GROUP]");
            // Make the request
            ErrorGroup response = await errorGroupServiceClient.GetGroupAsync(formattedGroupName);

            // End snippet
        }