SerializationContext Constructor (DomainXmlSerializerDirectory)
Create a serialization context with no source/destination location information.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Sub New ( _
directory As DomainXmlSerializerDirectory _
)
public SerializationContext(
DomainXmlSerializerDirectory directory
)
public:
SerializationContext(
DomainXmlSerializerDirectory^ directory
)
new :
directory:DomainXmlSerializerDirectory -> SerializationContext
public function SerializationContext(
directory : DomainXmlSerializerDirectory
)
Parameters
- directory
Type: Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectory
Directory to look up serializers.
.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.