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 }
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 }