CommerceModule.DeclareModuleDependency (Type, Type) Method (BCL)

Use this method to declare a dependency on another CommerceModule class, by type.

Definition

[Visual Basic .NET]

Protected Shared Sub DeclareModuleDependency( _ByValmoduleType As System.Type, _
  ByValdependentType As System.Type _
) 

[C#]

protected static void DeclareModuleDependency(System.TypemoduleType,
  System.TypedependentType);

Parameters

[Visual Basic .NET]

  • moduleType
    The System.Type that represents the type of module this module is dependent upon. May not be null.
  • dependentType
    The System.Type of the dependent module.

[C#]

  • moduleType
    The System.Type that represents the type of module this module is dependent upon. May not be null.
  • dependentType
    The System.Type of the dependent module.

Remarks

Throws the CommerceModuleDependencyException when the module that this module is dependent upon does not exist. Throws the ArgumentNullException when one of the required arguments was passed as a null value.

Requirements

Namespace: Microsoft.CommerceServer.Runtime

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.