Show / Hide Table of Contents

Class DeviceCategoryServiceClient

DeviceCategoryService client wrapper, for convenient use.

Inheritance
object
DeviceCategoryServiceClient
DeviceCategoryServiceClientImpl
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public abstract class DeviceCategoryServiceClient
Remarks

Provides methods for handling DeviceCategory objects.

Properties

DefaultEndpoint

The default endpoint for the DeviceCategoryService service, which is a host of "admanager.googleapis.com" and a port of 443.

Declaration
public static string DefaultEndpoint { get; }
Property Value
Type Description
string

DefaultScopes

The default DeviceCategoryService scopes.

Declaration
public static IReadOnlyList<string> DefaultScopes { get; }
Property Value
Type Description
IReadOnlyList<string>
Remarks

The default DeviceCategoryService scopes are:

  • https://www.googleapis.com/auth/admanager

GrpcClient

The underlying gRPC DeviceCategoryService client

Declaration
public virtual DeviceCategoryService.DeviceCategoryServiceClient GrpcClient { get; }
Property Value
Type Description
DeviceCategoryService.DeviceCategoryServiceClient

ServiceMetadata

The service metadata associated with this client type.

Declaration
public static ServiceMetadata ServiceMetadata { get; }
Property Value
Type Description
ServiceMetadata

Methods

Create()

Synchronously creates a DeviceCategoryServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use DeviceCategoryServiceClientBuilder.

Declaration
public static DeviceCategoryServiceClient Create()
Returns
Type Description
DeviceCategoryServiceClient

The created DeviceCategoryServiceClient.

CreateAsync(CancellationToken)

Asynchronously creates a DeviceCategoryServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use DeviceCategoryServiceClientBuilder.

Declaration
public static Task<DeviceCategoryServiceClient> CreateAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken

The CancellationToken to use while creating the client.

Returns
Type Description
Task<DeviceCategoryServiceClient>

The task representing the created DeviceCategoryServiceClient.

GetDeviceCategory(DeviceCategoryName, CallSettings)

API to retrieve a DeviceCategory object.

Declaration
public virtual DeviceCategory GetDeviceCategory(DeviceCategoryName name, CallSettings callSettings = null)
Parameters
Type Name Description
DeviceCategoryName name

Required. The resource name of the DeviceCategory. Format: networks/{network_code}/deviceCategories/{device_category_id}

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DeviceCategory

The RPC response.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = DeviceCategoryServiceClient.Create();
// Initialize request argument(s)
DeviceCategoryName name = DeviceCategoryName.FromNetworkCodeDeviceCategory("[NETWORK_CODE]", "[DEVICE_CATEGORY]");
// Make the request
DeviceCategory response = deviceCategoryServiceClient.GetDeviceCategory(name);

GetDeviceCategory(GetDeviceCategoryRequest, CallSettings)

API to retrieve a DeviceCategory object.

Declaration
public virtual DeviceCategory GetDeviceCategory(GetDeviceCategoryRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetDeviceCategoryRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DeviceCategory

The RPC response.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = DeviceCategoryServiceClient.Create();
// Initialize request argument(s)
GetDeviceCategoryRequest request = new GetDeviceCategoryRequest
{
    DeviceCategoryName = DeviceCategoryName.FromNetworkCodeDeviceCategory("[NETWORK_CODE]", "[DEVICE_CATEGORY]"),
};
// Make the request
DeviceCategory response = deviceCategoryServiceClient.GetDeviceCategory(request);

GetDeviceCategory(string, CallSettings)

API to retrieve a DeviceCategory object.

Declaration
public virtual DeviceCategory GetDeviceCategory(string name, CallSettings callSettings = null)
Parameters
Type Name Description
string name

Required. The resource name of the DeviceCategory. Format: networks/{network_code}/deviceCategories/{device_category_id}

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DeviceCategory

The RPC response.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = DeviceCategoryServiceClient.Create();
// Initialize request argument(s)
string name = "networks/[NETWORK_CODE]/deviceCategories/[DEVICE_CATEGORY]";
// Make the request
DeviceCategory response = deviceCategoryServiceClient.GetDeviceCategory(name);

GetDeviceCategoryAsync(DeviceCategoryName, CallSettings)

API to retrieve a DeviceCategory object.

Declaration
public virtual Task<DeviceCategory> GetDeviceCategoryAsync(DeviceCategoryName name, CallSettings callSettings = null)
Parameters
Type Name Description
DeviceCategoryName name

Required. The resource name of the DeviceCategory. Format: networks/{network_code}/deviceCategories/{device_category_id}

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<DeviceCategory>

A Task containing the RPC response.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = await DeviceCategoryServiceClient.CreateAsync();
// Initialize request argument(s)
DeviceCategoryName name = DeviceCategoryName.FromNetworkCodeDeviceCategory("[NETWORK_CODE]", "[DEVICE_CATEGORY]");
// Make the request
DeviceCategory response = await deviceCategoryServiceClient.GetDeviceCategoryAsync(name);

GetDeviceCategoryAsync(DeviceCategoryName, CancellationToken)

API to retrieve a DeviceCategory object.

Declaration
public virtual Task<DeviceCategory> GetDeviceCategoryAsync(DeviceCategoryName name, CancellationToken cancellationToken)
Parameters
Type Name Description
DeviceCategoryName name

Required. The resource name of the DeviceCategory. Format: networks/{network_code}/deviceCategories/{device_category_id}

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<DeviceCategory>

A Task containing the RPC response.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = await DeviceCategoryServiceClient.CreateAsync();
// Initialize request argument(s)
DeviceCategoryName name = DeviceCategoryName.FromNetworkCodeDeviceCategory("[NETWORK_CODE]", "[DEVICE_CATEGORY]");
// Make the request
DeviceCategory response = await deviceCategoryServiceClient.GetDeviceCategoryAsync(name);

GetDeviceCategoryAsync(GetDeviceCategoryRequest, CallSettings)

API to retrieve a DeviceCategory object.

Declaration
public virtual Task<DeviceCategory> GetDeviceCategoryAsync(GetDeviceCategoryRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetDeviceCategoryRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<DeviceCategory>

A Task containing the RPC response.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = await DeviceCategoryServiceClient.CreateAsync();
// Initialize request argument(s)
GetDeviceCategoryRequest request = new GetDeviceCategoryRequest
{
    DeviceCategoryName = DeviceCategoryName.FromNetworkCodeDeviceCategory("[NETWORK_CODE]", "[DEVICE_CATEGORY]"),
};
// Make the request
DeviceCategory response = await deviceCategoryServiceClient.GetDeviceCategoryAsync(request);

GetDeviceCategoryAsync(GetDeviceCategoryRequest, CancellationToken)

API to retrieve a DeviceCategory object.

Declaration
public virtual Task<DeviceCategory> GetDeviceCategoryAsync(GetDeviceCategoryRequest request, CancellationToken cancellationToken)
Parameters
Type Name Description
GetDeviceCategoryRequest request

The request object containing all of the parameters for the API call.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<DeviceCategory>

A Task containing the RPC response.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = await DeviceCategoryServiceClient.CreateAsync();
// Initialize request argument(s)
GetDeviceCategoryRequest request = new GetDeviceCategoryRequest
{
    DeviceCategoryName = DeviceCategoryName.FromNetworkCodeDeviceCategory("[NETWORK_CODE]", "[DEVICE_CATEGORY]"),
};
// Make the request
DeviceCategory response = await deviceCategoryServiceClient.GetDeviceCategoryAsync(request);

GetDeviceCategoryAsync(string, CallSettings)

API to retrieve a DeviceCategory object.

Declaration
public virtual Task<DeviceCategory> GetDeviceCategoryAsync(string name, CallSettings callSettings = null)
Parameters
Type Name Description
string name

Required. The resource name of the DeviceCategory. Format: networks/{network_code}/deviceCategories/{device_category_id}

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<DeviceCategory>

A Task containing the RPC response.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = await DeviceCategoryServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "networks/[NETWORK_CODE]/deviceCategories/[DEVICE_CATEGORY]";
// Make the request
DeviceCategory response = await deviceCategoryServiceClient.GetDeviceCategoryAsync(name);

GetDeviceCategoryAsync(string, CancellationToken)

API to retrieve a DeviceCategory object.

Declaration
public virtual Task<DeviceCategory> GetDeviceCategoryAsync(string name, CancellationToken cancellationToken)
Parameters
Type Name Description
string name

Required. The resource name of the DeviceCategory. Format: networks/{network_code}/deviceCategories/{device_category_id}

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<DeviceCategory>

A Task containing the RPC response.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = await DeviceCategoryServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "networks/[NETWORK_CODE]/deviceCategories/[DEVICE_CATEGORY]";
// Make the request
DeviceCategory response = await deviceCategoryServiceClient.GetDeviceCategoryAsync(name);

ListDeviceCategories(ListDeviceCategoriesRequest, CallSettings)

API to retrieve a list of DeviceCategory objects.

Declaration
public virtual PagedEnumerable<ListDeviceCategoriesResponse, DeviceCategory> ListDeviceCategories(ListDeviceCategoriesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListDeviceCategoriesRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<ListDeviceCategoriesResponse, DeviceCategory>

A pageable sequence of DeviceCategory resources.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = DeviceCategoryServiceClient.Create();
// Initialize request argument(s)
ListDeviceCategoriesRequest request = new ListDeviceCategoriesRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    Filter = "",
    OrderBy = "",
    Skip = 0,
};
// Make the request
PagedEnumerable<ListDeviceCategoriesResponse, DeviceCategory> response = deviceCategoryServiceClient.ListDeviceCategories(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (DeviceCategory item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeviceCategoriesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeviceCategory item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeviceCategory> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeviceCategory item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListDeviceCategories(NetworkName, string, int?, CallSettings)

API to retrieve a list of DeviceCategory objects.

Declaration
public virtual PagedEnumerable<ListDeviceCategoriesResponse, DeviceCategory> ListDeviceCategories(NetworkName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type Name Description
NetworkName parent

Required. The parent, which owns this collection of DeviceCategories. Format: networks/{network_code}

string pageToken

The token returned from the previous request. A value of null or an empty string retrieves the first page.

int? pageSize

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<ListDeviceCategoriesResponse, DeviceCategory>

A pageable sequence of DeviceCategory resources.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = DeviceCategoryServiceClient.Create();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
// Make the request
PagedEnumerable<ListDeviceCategoriesResponse, DeviceCategory> response = deviceCategoryServiceClient.ListDeviceCategories(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DeviceCategory item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeviceCategoriesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeviceCategory item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeviceCategory> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeviceCategory item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListDeviceCategories(string, string, int?, CallSettings)

API to retrieve a list of DeviceCategory objects.

Declaration
public virtual PagedEnumerable<ListDeviceCategoriesResponse, DeviceCategory> ListDeviceCategories(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type Name Description
string parent

Required. The parent, which owns this collection of DeviceCategories. Format: networks/{network_code}

string pageToken

The token returned from the previous request. A value of null or an empty string retrieves the first page.

int? pageSize

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<ListDeviceCategoriesResponse, DeviceCategory>

A pageable sequence of DeviceCategory resources.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = DeviceCategoryServiceClient.Create();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
// Make the request
PagedEnumerable<ListDeviceCategoriesResponse, DeviceCategory> response = deviceCategoryServiceClient.ListDeviceCategories(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (DeviceCategory item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListDeviceCategoriesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeviceCategory item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeviceCategory> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeviceCategory item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListDeviceCategoriesAsync(ListDeviceCategoriesRequest, CallSettings)

API to retrieve a list of DeviceCategory objects.

Declaration
public virtual PagedAsyncEnumerable<ListDeviceCategoriesResponse, DeviceCategory> ListDeviceCategoriesAsync(ListDeviceCategoriesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListDeviceCategoriesRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<ListDeviceCategoriesResponse, DeviceCategory>

A pageable asynchronous sequence of DeviceCategory resources.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = await DeviceCategoryServiceClient.CreateAsync();
// Initialize request argument(s)
ListDeviceCategoriesRequest request = new ListDeviceCategoriesRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    Filter = "",
    OrderBy = "",
    Skip = 0,
};
// Make the request
PagedAsyncEnumerable<ListDeviceCategoriesResponse, DeviceCategory> response = deviceCategoryServiceClient.ListDeviceCategoriesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DeviceCategory item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeviceCategoriesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeviceCategory item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeviceCategory> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeviceCategory item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListDeviceCategoriesAsync(NetworkName, string, int?, CallSettings)

API to retrieve a list of DeviceCategory objects.

Declaration
public virtual PagedAsyncEnumerable<ListDeviceCategoriesResponse, DeviceCategory> ListDeviceCategoriesAsync(NetworkName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type Name Description
NetworkName parent

Required. The parent, which owns this collection of DeviceCategories. Format: networks/{network_code}

string pageToken

The token returned from the previous request. A value of null or an empty string retrieves the first page.

int? pageSize

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<ListDeviceCategoriesResponse, DeviceCategory>

A pageable asynchronous sequence of DeviceCategory resources.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = await DeviceCategoryServiceClient.CreateAsync();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
// Make the request
PagedAsyncEnumerable<ListDeviceCategoriesResponse, DeviceCategory> response = deviceCategoryServiceClient.ListDeviceCategoriesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DeviceCategory item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeviceCategoriesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeviceCategory item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeviceCategory> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeviceCategory item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListDeviceCategoriesAsync(string, string, int?, CallSettings)

API to retrieve a list of DeviceCategory objects.

Declaration
public virtual PagedAsyncEnumerable<ListDeviceCategoriesResponse, DeviceCategory> ListDeviceCategoriesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type Name Description
string parent

Required. The parent, which owns this collection of DeviceCategories. Format: networks/{network_code}

string pageToken

The token returned from the previous request. A value of null or an empty string retrieves the first page.

int? pageSize

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<ListDeviceCategoriesResponse, DeviceCategory>

A pageable asynchronous sequence of DeviceCategory resources.

Sample code
// Create client
DeviceCategoryServiceClient deviceCategoryServiceClient = await DeviceCategoryServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
// Make the request
PagedAsyncEnumerable<ListDeviceCategoriesResponse, DeviceCategory> response = deviceCategoryServiceClient.ListDeviceCategoriesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DeviceCategory item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDeviceCategoriesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (DeviceCategory item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<DeviceCategory> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (DeviceCategory item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Declaration
public static Task ShutdownDefaultChannelsAsync()
Returns
Type Description
Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

In this article
Back to top Generated by DocFX