Dijeli putem


AuthManager Constructor

Initializes a new instance of the AuthManager class.

Namespace:  Microsoft.CommerceServer.Runtime
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Sub New ( _
    siteName As String, _
    debugContext As DebugContext _
)
'Usage
Dim siteName As String
Dim debugContext As DebugContext

Dim instance As New AuthManager(siteName, _
    debugContext)
public AuthManager(
    string siteName,
    DebugContext debugContext
)
public:
AuthManager(
    String^ siteName, 
    DebugContext^ debugContext
)
public function AuthManager(
    siteName : String, 
    debugContext : DebugContext
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

siteName or debugContext is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

After any AuthManager instance has been initialized within an ASP.NET-based site, any new instances of the AuthManager class initialized within that site use the cached resources as loaded by the first constructor. Therefore, even if a different value is used for the siteName parameter, the AuthManager object will still be configured to run using the site configuration specified in the first instance.

Permissions

See Also

Reference

AuthManager Class

AuthManager Members

Microsoft.CommerceServer.Runtime Namespace