DataAsyncCommand Constructor (IVsDataConnection)
Initializes a new instance of the DataAsyncCommand object with an IVsDataConnection object that is set on the inherited DataSiteableObject<T> object.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Déclaration
Public Sub New ( _
connection As IVsDataConnection _
)
public DataAsyncCommand(
IVsDataConnection connection
)
public:
DataAsyncCommand(
IVsDataConnection^ connection
)
new :
connection:IVsDataConnection -> DataAsyncCommand
public function DataAsyncCommand(
connection : IVsDataConnection
)
Parameters
- connection
Type: Microsoft.VisualStudio.Data.Services.IVsDataConnection
An IVsDataConnection object that is set on the inherited DataSiteableObject<T> object.
.NET Framework Security
- 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.