WeaklyTypedPropertyDictionary Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the WeaklyTypedPropertyDictionary class with the specified serialization info and streaming context.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New WeaklyTypedPropertyDictionary(info, context)
protected WeaklyTypedPropertyDictionary(
SerializationInfo info,
StreamingContext context
)
protected:
WeaklyTypedPropertyDictionary(
SerializationInfo^ info,
StreamingContext context
)
protected function WeaklyTypedPropertyDictionary(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization..::.SerializationInfo
The SerializationInfo used to retrieve data.
- context
Type: System.Runtime.Serialization..::.StreamingContext
The StreamingContext used for this serialization.
Remarks
This is the deserialization constructor for ISerializable support. This constructor is protected so it can be called from derived class's deserialization constructors. This constructor must be called from a derived class's deserialization constructor to ensure that deserialization succeeds.
This Hashtable-derived class adds behavior specific to orders weakly-typed property maps. It adds validation of weakly-typed property names against strongly-typed names, avoiding problems in name collision.
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.
See Also
Reference
WeaklyTypedPropertyDictionary Class
WeaklyTypedPropertyDictionary Members