'Declaration
Public Overloads Shared Sub EndSession( _ ByVal endingStatus As SessionStatus, _ ByVal sourceProvider As IMessageSourceProvider, _ ByVal reason As String _ )
public static void EndSession( SessionStatus endingStatus, IMessageSourceProvider sourceProvider, string reason )
Parameters
- endingStatus
- The explicit ending status to declare for this session, Normal or Crashed.
- sourceProvider
- An IMessageSourceProvider object which supplies the source information about this log message.
- reason
- A simple reason to declare why the application is ending as Normal or as Crashed, or may be null.