다음을 통해 공유


FabricClient.ServiceManagementClient Class

Definition

Represents the enabling of the services to be managed.

public sealed class FabricClient.ServiceManagementClient
type FabricClient.ServiceManagementClient = class
Public NotInheritable Class FabricClient.ServiceManagementClient
Inheritance
FabricClient.ServiceManagementClient

Methods

CreateServiceAsync(ServiceDescription, TimeSpan, CancellationToken)

Instantiates a service with specified description. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

CreateServiceAsync(ServiceDescription)

Instantiates a service with specified description.

CreateServiceFromTemplateAsync(ServiceFromTemplateDescription, TimeSpan, CancellationToken)

Instantiates a service from the template specified in the Application Manifest.

CreateServiceFromTemplateAsync(ServiceFromTemplateDescription)

Instantiates a service from the template specified in the Application Manifest.

CreateServiceFromTemplateAsync(Uri, Uri, String, Byte[], TimeSpan, CancellationToken)

Instantiates a service from the template specified in the Application Manifest. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

CreateServiceFromTemplateAsync(Uri, Uri, String, Byte[])

Instantiates a service from the template specified in the Application Manifest.

DeleteServiceAsync(DeleteServiceDescription, TimeSpan, CancellationToken)

Deletes the specified service instance. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

DeleteServiceAsync(DeleteServiceDescription)

Deletes the specified service instance.

DeleteServiceAsync(Uri, TimeSpan, CancellationToken)
Obsolete.

Deletes the specified service instance. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

DeleteServiceAsync(Uri)
Obsolete.

Deletes the specified service instance.

GetServiceDescriptionAsync(Uri, TimeSpan, CancellationToken)

Gets the Service Description for the specified service instance. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

GetServiceDescriptionAsync(Uri)

Gets the Service Description for the specified service instance.

GetServiceManifestAsync(String, String, String, TimeSpan, CancellationToken)

Gets the provisioned service manifest document in the specified application type name and application type version. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

GetServiceManifestAsync(String, String, String)

Gets the provisioned service manifest document in the specified application type name and application type version.

RegisterServiceNotificationFilterAsync(ServiceNotificationFilterDescription, TimeSpan, CancellationToken)

Registers a ServiceNotificationFilterDescription. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

RegisterServiceNotificationFilterAsync(ServiceNotificationFilterDescription)

Registers a ServiceNotificationFilterDescription.

RegisterServicePartitionResolutionChangeHandler(Uri, Int64, ServicePartitionResolutionChangeHandler)
Obsolete.

This API is deprecated, use RegisterServiceNotificationFilterAsync(ServiceNotificationFilterDescription) instead.

RegisterServicePartitionResolutionChangeHandler(Uri, ServicePartitionResolutionChangeHandler)
Obsolete.

This API is deprecated, use RegisterServiceNotificationFilterAsync(ServiceNotificationFilterDescription) instead.

RegisterServicePartitionResolutionChangeHandler(Uri, String, ServicePartitionResolutionChangeHandler)
Obsolete.

This API is deprecated, use RegisterServiceNotificationFilterAsync(ServiceNotificationFilterDescription) instead.

RemoveReplicaAsync(String, Guid, Int64, Boolean, TimeSpan, CancellationToken)

Removes a service replica running on a node. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

RemoveReplicaAsync(String, Guid, Int64, Boolean)

Removes a service replica running on a node.

RemoveReplicaAsync(String, Guid, Int64, TimeSpan, CancellationToken)

Removes a service replica running on a node. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

RemoveReplicaAsync(String, Guid, Int64)

Removes a service replica running on a node.

ReportCompletionAsync(String, Guid, Int64, TimeSpan, CancellationToken)

Marks a service replica as completed of a service running on a node. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

ResolveServicePartitionAsync(Uri, Int64, ResolvedServicePartition, TimeSpan, CancellationToken)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, Int64, ResolvedServicePartition, TimeSpan)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, Int64, ResolvedServicePartition)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, Int64, TimeSpan, CancellationToken)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, Int64, TimeSpan)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, Int64)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, ResolvedServicePartition, TimeSpan, CancellationToken)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, ResolvedServicePartition, TimeSpan)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, ResolvedServicePartition)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, String, ResolvedServicePartition, TimeSpan, CancellationToken)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, String, ResolvedServicePartition, TimeSpan)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, String, ResolvedServicePartition)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, String, TimeSpan, CancellationToken)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, String, TimeSpan)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, String)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, TimeSpan, CancellationToken)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri, TimeSpan)

Queries the system for the set of endpoints the specified service partition is listening to.

ResolveServicePartitionAsync(Uri)

Queries the system for the set of endpoints the specified service partition is listening to.

RestartReplicaAsync(String, Guid, Int64, TimeSpan, CancellationToken)

Restarts a service replica of a persisted service running on a node. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

RestartReplicaAsync(String, Guid, Int64)

Restarts a service replica of a persisted service running on a node.

UnregisterServiceNotificationFilterAsync(Int64, TimeSpan, CancellationToken)

Unregisters a previously registered ServiceNotificationFilterDescription.

UnregisterServiceNotificationFilterAsync(Int64)

Unregisters a previously registered ServiceNotificationFilterDescription.

UnregisterServicePartitionResolutionChangeHandler(Int64)

Unregisters a change handler previously registered with RegisterServicePartitionResolutionChangeHandler(Uri, ServicePartitionResolutionChangeHandler).

UpdateServiceAsync(Uri, ServiceUpdateDescription, TimeSpan, CancellationToken)

Updates a service with the specified description. Also takes in timeout interval, which is the maximum of time the system will allow this operation to continue before returning TimeoutException and cancellation-token that the operation is observing.

UpdateServiceAsync(Uri, ServiceUpdateDescription)

Updates a service with the specified description.

Events

ServiceNotificationFilterMatched

Raised when a ServiceNotificationFilterDescription previously registered through RegisterServiceNotificationFilterAsync(ServiceNotificationFilterDescription) is matched by a service's endpoint changes in system.

Applies to