共用方式為


SqlExceptionHandler Delegate

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'宣告
Public Delegate Sub SqlExceptionHandler ( _
    ex As SqlException, _
    state As QueryExecutionState _
)
public delegate void SqlExceptionHandler(
    SqlException ex,
    QueryExecutionState state
)
public delegate void SqlExceptionHandler(
    SqlException^ ex, 
    QueryExecutionState state
)
type SqlExceptionHandler = 
    delegate of 
        ex:SqlException * 
        state:QueryExecutionState -> unit
JScript does not support delegates.

Parameters

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace