Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Class constructor. Initializes a new, parameterized instance of the DataSupport class with an XML resource stored in a managed assembly.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Protected Sub New ( _
resourceName As String, _
assembly As Assembly _
)
protected DataSupport(
string resourceName,
Assembly assembly
)
protected:
DataSupport(
String^ resourceName,
Assembly^ assembly
)
new :
resourceName:string *
assembly:Assembly -> DataSupport
protected function DataSupport(
resourceName : String,
assembly : Assembly
)
Parameters
- resourceName
Type: System.String
The name of the managed resource.
- assembly
Type: System.Reflection.Assembly
The managed assembly that contains the resource.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The resourceName and/or assembly parameters are null. |
.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.