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
- 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.
See Also
Reference
IVsDataConnectionEvents Interface