Partager via


Service.Subscribe Méthode

Définition

Surcharges

Subscribe(ServiceEvent, ServiceEvent)
Subscribe(Int32, ServiceEvent)

Subscribe(ServiceEvent, ServiceEvent)

protected:
 static void Subscribe(Microsoft::XLANGs::Core::ServiceEvent ^ % oldListeners, Microsoft::XLANGs::Core::ServiceEvent ^ listener);
protected static void Subscribe (ref Microsoft.XLANGs.Core.ServiceEvent oldListeners, Microsoft.XLANGs.Core.ServiceEvent listener);
static member Subscribe : ServiceEvent * Microsoft.XLANGs.Core.ServiceEvent -> unit
Protected Shared Sub Subscribe (ByRef oldListeners As ServiceEvent, listener As ServiceEvent)

Paramètres

oldListeners
ServiceEvent
listener
ServiceEvent

S’applique à

Subscribe(Int32, ServiceEvent)

public:
 static void Subscribe(int eventID, Microsoft::XLANGs::Core::ServiceEvent ^ listener);
public static void Subscribe (int eventID, Microsoft.XLANGs.Core.ServiceEvent listener);
static member Subscribe : int * Microsoft.XLANGs.Core.ServiceEvent -> unit
Public Shared Sub Subscribe (eventID As Integer, listener As ServiceEvent)

Paramètres

eventID
Int32
listener
ServiceEvent

S’applique à