ServicePartitionResolverExtensions.DisableNotification Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET