Share via


ServicePartitionResolverExtensions.DisableNotification Method

Definition

An extension method that disables the notification for this particular instance of ServicePartitionResolver By default, service partition Resolver register for notification.There is a cache of service endpoints in the client that gets updated by notifications and this same cache is used to satisfy complaint based resolution requests. If you interested in only complain based resolution, then you could use this extension to disable it.

public static Microsoft.ServiceFabric.Services.Client.ServicePartitionResolver DisableNotification (this Microsoft.ServiceFabric.Services.Client.ServicePartitionResolver partitionResolver);
static member DisableNotification : Microsoft.ServiceFabric.Services.Client.ServicePartitionResolver -> Microsoft.ServiceFabric.Services.Client.ServicePartitionResolver
<Extension()>
Public Function DisableNotification (partitionResolver As ServicePartitionResolver) As ServicePartitionResolver

Parameters

partitionResolver
ServicePartitionResolver

ServicePartitionResolver to disable notification for.

Returns

ServicePartitionResolver

Applies to