Share via


Service.Subscribe Method

Definition

Overloads

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)

Parameters

oldListeners
ServiceEvent
listener
ServiceEvent

Applies to

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)

Parameters

eventID
Int32
listener
ServiceEvent

Applies to