BizDataException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the BizDataException class with the specified serialization information and streaming context.
Namespace: Microsoft.CommerceServer.Interop.Profiles
Assembly: Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.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 BizDataException(info, context)
protected BizDataException(
SerializationInfo info,
StreamingContext context
)
protected:
BizDataException(
SerializationInfo^ info,
StreamingContext context
)
protected function BizDataException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization..::.SerializationInfo
The SerializationInfo object containing serialization information about the exception being thrown.
- context
Type: System.Runtime.Serialization..::.StreamingContext
The StreamingContext object that contains contextual information about the source or destination.
Remarks
This constructor is needed for serialization when exception propagates from a remoting server to the client.
Exception raised when a Profile attribute cannot be committed, a data-source in cannot be created, a catalog cannot be retrieved, or an XML document cannot be loaded.
The context contains the properties of the BizDataException.
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.