次の方法で共有


IVsDataConnectionEvents.MessageReceived Event

Occurs when a message is received from the data source.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'宣言
Event MessageReceived As EventHandler(Of DataConnectionMessageReceivedEventArgs)
'使用
Dim instance As IVsDataConnectionEvents
Dim handler As EventHandler(Of DataConnectionMessageReceivedEventArgs)

AddHandler instance.MessageReceived, handler
event EventHandler<DataConnectionMessageReceivedEventArgs> MessageReceived
 event EventHandler<DataConnectionMessageReceivedEventArgs^>^ MessageReceived {
    void add (EventHandler<DataConnectionMessageReceivedEventArgs^>^ value);
    void remove (EventHandler<DataConnectionMessageReceivedEventArgs^>^ value);
}
JScript does not support events.

Permissions

See Also

Reference

IVsDataConnectionEvents Interface

IVsDataConnectionEvents Members

Microsoft.VisualStudio.Data.Services Namespace