次の方法で共有


DataConnectionSupport.MessageReceived Event

Occurs when a message is received from the data source.

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

Syntax

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

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

Implements

IVsDataConnectionEvents.MessageReceived

Permissions

See Also

Reference

DataConnectionSupport Class

DataConnectionSupport Members

Microsoft.VisualStudio.Data.Framework Namespace