Share via


DynamicsBaseHostedControl.SessionCloseEvent Method

Override that is called when a session is closing.

Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Usage

'Usage
Dim session As Session
Dim returnValue As Boolean

returnValue = Me.SessionCloseEvent(session)

Syntax

'Declaration
Protected Overridable Function SessionCloseEvent ( _
    session As Session _
) As Boolean
protected virtual bool SessionCloseEvent (
    Session session
)
protected:
virtual bool SessionCloseEvent (
    Session^ session
)
protected boolean SessionCloseEvent (
    Session session
)
protected function SessionCloseEvent (
    session : Session
) : boolean

Parameters

  • session
    The session being closed

Return Value

return false to cancel the session closing

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

DynamicsBaseHostedControl Class
DynamicsBaseHostedControl Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.