CacheRefreshFailureInformation Constructor (String, String, HttpStatusCode, String, String)
Initializes a new instance of the CacheRefreshFailureInformation class with the provided data.
Namespace: Microsoft.CommerceServer
Assembly: Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New ( _
applicationName As String, _
serverName As String, _
statusCode As HttpStatusCode, _
description As String, _
url As String _
)
'Usage
Dim applicationName As String
Dim serverName As String
Dim statusCode As HttpStatusCode
Dim description As String
Dim url As String
Dim instance As New CacheRefreshFailureInformation(applicationName, _
serverName, statusCode, description, _
url)
public CacheRefreshFailureInformation(
string applicationName,
string serverName,
HttpStatusCode statusCode,
string description,
string url
)
public:
CacheRefreshFailureInformation(
String^ applicationName,
String^ serverName,
HttpStatusCode statusCode,
String^ description,
String^ url
)
public function CacheRefreshFailureInformation(
applicationName : String,
serverName : String,
statusCode : HttpStatusCode,
description : String,
url : String
)
Parameters
- applicationName
Type: System..::.String
Name of the Commerce Server application in which the failure occurred.
- serverName
Type: System..::.String
Name of the web server on which the failure occurred.
- statusCode
Type: System.Net..::.HttpStatusCode
The HTTP status code returned by the web server cache refresh page (SiteCacheRefresh.axd).
- description
Type: System..::.String
A description of the error.
- url
Type: System..::.String
The URL used to refresh the cache.
Remarks
Class that holds information about a cache refresh failure.
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
CacheRefreshFailureInformation Class
CacheRefreshFailureInformation Members