Class BrokeredServicesChangedEventArgs
- Namespace
- Microsoft.ServiceHub.Framework
- Assembly
- Microsoft.ServiceHub.Framework.dll
Describes changes to brokered service availability as raised by the AvailabilityChanged event.
public class BrokeredServicesChangedEventArgs : EventArgs
- Inheritance
-
BrokeredServicesChangedEventArgs
- Inherited Members
Constructors
BrokeredServicesChangedEventArgs(IImmutableSet<ServiceMoniker>)
Initializes a new instance of the BrokeredServicesChangedEventArgs class with an exhaustive set of impacted services.
public BrokeredServicesChangedEventArgs(IImmutableSet<ServiceMoniker> impactedServices)
Parameters
impactedServicesIImmutableSet<ServiceMoniker>The set of services that are impacted by the change.
BrokeredServicesChangedEventArgs(IImmutableSet<ServiceMoniker>, bool)
Initializes a new instance of the BrokeredServicesChangedEventArgs class.
[JsonConstructor]
[JsonConstructor]
public BrokeredServicesChangedEventArgs(IImmutableSet<ServiceMoniker> impactedServices, bool otherServicesImpacted)
Parameters
impactedServicesIImmutableSet<ServiceMoniker>The set of services that are impacted by the change.
otherServicesImpactedboolA value indicating whether other services not included in ImpactedServices may also be impacted.
Properties
ImpactedServices
Gets the set of services that are impacted by the change.
public IImmutableSet<ServiceMoniker> ImpactedServices { get; }
Property Value
Remarks
Services in this set may have been added, removed, or proffered by a different IServiceBroker such that a service's implementation or location has changed.
OtherServicesImpacted
Gets a value indicating whether other services not included in ImpactedServices may also be impacted.
public bool OtherServicesImpacted { get; }
Property Value
Remarks
This may be true when an IServiceBroker is proffered, changed, or removed without exhaustively enumerating the services it may offer.