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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.