共用方式為


RemoteServiceBroker.OnAvailabilityChanged Method

Definition

Raises the AvailabilityChanged event.

protected:
 virtual void OnAvailabilityChanged(System::Object ^ sender, Microsoft::ServiceHub::Framework::BrokeredServicesChangedEventArgs ^ args);
protected virtual void OnAvailabilityChanged (object? sender, Microsoft.ServiceHub.Framework.BrokeredServicesChangedEventArgs args);
abstract member OnAvailabilityChanged : obj * Microsoft.ServiceHub.Framework.BrokeredServicesChangedEventArgs -> unit
override this.OnAvailabilityChanged : obj * Microsoft.ServiceHub.Framework.BrokeredServicesChangedEventArgs -> unit
Protected Overridable Sub OnAvailabilityChanged (sender As Object, args As BrokeredServicesChangedEventArgs)

Parameters

sender
Object

This parameter is ignored. The event will be raised with "this" as the sender.

args
BrokeredServicesChangedEventArgs

Details regarding what changes have occurred.

Applies to