CommerceResourceDependencyException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the CommerceResourceDependencyException class with the specified serialization info and streaming context.
Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.Shared (in Microsoft.CommerceServer.Shared.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 CommerceResourceDependencyException(info, context)
protected CommerceResourceDependencyException(
SerializationInfo info,
StreamingContext context
)
protected:
CommerceResourceDependencyException(
SerializationInfo^ info,
StreamingContext context
)
protected function CommerceResourceDependencyException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization..::.SerializationInfo
A SerializationInfo containing serialization information.
- context
Type: System.Runtime.Serialization..::.StreamingContext
A StreamingContext containing streaming context information.
Remarks
An exception that is thrown when a resource does not exist in the Commerce Server administration database.
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
CommerceResourceDependencyException Class
CommerceResourceDependencyException Members