WriteNotifyEventHandler 委派
Represents the WriteNotifyEventHandler handler.
命名空間: Microsoft.SqlServer.Management.Trace
組件: Microsoft.SqlServer.ConnectionInfoExtended (在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)
語法
'宣告
Public Delegate Sub WriteNotifyEventHandler ( _
sender As Object, _
args As TraceEventArgs _
)
'用途
Dim instance As New WriteNotifyEventHandler(AddressOf HandlerMethod)
public delegate void WriteNotifyEventHandler(
Object sender,
TraceEventArgs args
)
public delegate void WriteNotifyEventHandler(
Object^ sender,
TraceEventArgs^ args
)
type WriteNotifyEventHandler =
delegate of
sender:Object *
args:TraceEventArgs -> unit
JScript 支援委託的使用,但不支援新委託的宣告。
參數
- sender
型別:System. . :: . .Object
An Object value that specifies the source of the event.
- args
型別:Microsoft.SqlServer.Management.Trace. . :: . .TraceEventArgs
A TraceEventArgs object that contains the event data.