Share via


OrderContext Constructor (String, DebugContext) (BCL)

Use this method to create a new instance of the OrderContext class with the specified connection string and DebugContext object.

Definition

[Visual Basic .NET]

Public Sub New( _ByValconnectionString As System.String, _
  ByValdbgContext As DebugContext _
) 

[C#]

public OrderContext(System.StringconnectionString,
  DebugContextdbgContext);

Parameters

[Visual Basic .NET]

  • connectionString
    The connection string. May not be null.
  • dbgContext
    An instance of the DebugContext class. Determines how debugging and tracing information output by this class will appear to the user. May not be null.

[C#]

  • connectionString
    The connection string. May not be null.
  • dbgContext
    An instance of the DebugContext class. Determines how debugging and tracing information output by this class will appear to the user. May not be null.

Remarks

Throws ArgumentNullException if either required parameter is null.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Orders

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

See Also

Example Code for the Microsoft.CommerceServer.Runtime.Orders Namespace

Copyright © 2005 Microsoft Corporation.
All rights reserved.