SerializationContext Constructor (DomainXmlSerializerDirectory, String)
Create a serialization context with given source/destination location.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Public Sub New ( _
directory As DomainXmlSerializerDirectory, _
location As String _
)
public SerializationContext(
DomainXmlSerializerDirectory directory,
string location
)
public:
SerializationContext(
DomainXmlSerializerDirectory^ directory,
String^ location
)
new :
directory:DomainXmlSerializerDirectory *
location:string -> SerializationContext
public function SerializationContext(
directory : DomainXmlSerializerDirectory,
location : String
)
Parameters
- directory
Type: Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectory
Directory to look up serializers.
- location
Type: System.String
Source/destination location of this context, it's usually the file path, but it can be any string, including 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.