Service.Subscribe 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.
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