Export (0) Print
Expand All

ServiceContext.OnExiting Event

An event that is raised when the service host is asked to exit.


Namespace: Microsoft.Hpc.Scheduler.Session
Assembly: Microsoft.Hpc.Scheduler.Session (in Microsoft.Hpc.Scheduler.Session.dll)

'Usage
Dim handler As EventHandler(Of EventArgs)

AddHandler ServiceContext.OnExiting, handler

public:
static event EventHandler<EventArgs^>^ OnExiting {
	void add (EventHandler<EventArgs^>^ value);
	void remove (EventHandler<EventArgs^>^ value);
}
/** @event */
public static void add_OnExiting (EventHandler<EventArgs> value)

/** @event */
public static void remove_OnExiting (EventHandler<EventArgs> value)

JScript does not support events.

The code for the SOA service can register an event handler for this event. For information about the delegate used with this event, see EventHandler.

Platform Note: This event is supported starting with Windows HPC Server 2008 R2.


Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities




Build Date:

2013-04-22

Community Additions

ADD
Show:
© 2014 Microsoft