public static class CloudTasksCloud Tasks allows developers to manage the execution of background work in their applications.
Namespace
Google.Cloud.Tasks.V2Assembly
Google.Cloud.Tasks.V2.dll
Methods
BindService(CloudTasks.CloudTasksBase)
public static ServerServiceDefinition BindService(CloudTasks.CloudTasksBase serviceImpl)Creates service definition that can be registered with a server
| Parameter | |
|---|---|
| Name | Description |
serviceImpl |
CloudTasks.CloudTasksBaseAn object implementing the server-side handling logic. |
| Returns | |
|---|---|
| Type | Description |
ServerServiceDefinition |
|
BindService(ServiceBinderBase, CloudTasks.CloudTasksBase)
public static void BindService(ServiceBinderBase serviceBinder, CloudTasks.CloudTasksBase serviceImpl)Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
| Parameters | |
|---|---|
| Name | Description |
serviceBinder |
ServiceBinderBaseService methods will be bound by calling |
serviceImpl |
CloudTasks.CloudTasksBaseAn object implementing the server-side handling logic. |