CommerceResourceDependencyException Constructor (String, String)
Initializes a new instance of the CommerceResourceDependencyException class with the specified resource message and inner module.
Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.Shared (in Microsoft.CommerceServer.Shared.dll)
Syntax
'Declaration
Public Sub New ( _
resourceName As String, _
moduleName As String _
)
'Usage
Dim resourceName As String
Dim moduleName As String
Dim instance As New CommerceResourceDependencyException(resourceName, _
moduleName)
public CommerceResourceDependencyException(
string resourceName,
string moduleName
)
public:
CommerceResourceDependencyException(
String^ resourceName,
String^ moduleName
)
public function CommerceResourceDependencyException(
resourceName : String,
moduleName : String
)
Parameters
- resourceName
Type: System..::.String
The string specifying the name of the resource.
- moduleName
Type: System..::.String
The string specifying the name of the module.
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