Compartilhar via


SmsExceptionHandler Delegate

Serves as a delegate for handling a query exception, in Configuration Manager 2007, when releasing a session token from a property page.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim instance As New SmsExceptionHandler(AddressOf HandlerMethod)

Syntax

'Declaration
Public Delegate Sub SmsExceptionHandler ( _
    sender As Object, _
    e As SmsExceptionHandlerArgs _
)
public delegate void SmsExceptionHandler (
    Object sender,
    SmsExceptionHandlerArgs e
)
public delegate void SmsExceptionHandler (
    Object^ sender, 
    SmsExceptionHandlerArgs^ e
)
/** @delegate */
public delegate void SmsExceptionHandler (
    Object sender, 
    SmsExceptionHandlerArgs e
)

Parameters

  • sender
    [in] System.Object instance that indicates the sender of the exception.

Remarks

The query exception that the delegate handles is represented by an SmsQueryException object. The property page is an instance of SmsPropertyPage.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

Microsoft.ConfigurationManagement.AdminConsole Namespace
SmsExceptionHandlerArgs
SmsPropertyPage
SmsQueryException