SiteCacheRefreshEventArgs Constructor
Initializes a new instance of the SiteCacheRefreshEventArgs class.
Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
requestParameters As NameValueCollection _
)
'Usage
Dim requestParameters As NameValueCollection
Dim instance As New SiteCacheRefreshEventArgs(requestParameters)
public SiteCacheRefreshEventArgs(
NameValueCollection requestParameters
)
public:
SiteCacheRefreshEventArgs(
NameValueCollection^ requestParameters
)
public function SiteCacheRefreshEventArgs(
requestParameters : NameValueCollection
)
Parameters
- requestParameters
Type: System.Collections.Specialized..::.NameValueCollection
The NameValueCollection object that contains the event data. The request parameters from HttpContext.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | requestParameters is nullNothingnullptra null reference (Nothing in Visual Basic). |
Remarks
requestParameters contain the request parameters from HttpContext.
Provides data for the CacheRefresh event.
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
SiteCacheRefreshEventArgs Class