Handles the MessageReceived event.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Protected Overridable Sub OnMessageReceived ( _
e As DataConnectionMessageReceivedEventArgs _
)
'使用
Dim e As DataConnectionMessageReceivedEventArgs
Me.OnMessageReceived(e)
protected virtual void OnMessageReceived(
DataConnectionMessageReceivedEventArgs e
)
protected:
virtual void OnMessageReceived(
DataConnectionMessageReceivedEventArgs^ e
)
protected function OnMessageReceived(
e : DataConnectionMessageReceivedEventArgs
)
Parameters
e
Type: Microsoft.VisualStudio.Data.Services.DataConnectionMessageReceivedEventArgsA DataConnectionStateChangedEventArgs object containing the event data.
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.