Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Instantiates an SPCachedObject that contains the specified object and that has the specified identifier, expiration TimeSpan and parent identifier properties.
Namespace: Microsoft.Office.Server.ObjectCache
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Sub New ( _
id As String, _
data As Object, _
parentId As String, _
expireAfter As TimeSpan _
)
'Usage
Dim id As String
Dim data As Object
Dim parentId As String
Dim expireAfter As TimeSpan
Dim instance As New SPCachedObject(id, data, _
parentId, expireAfter)
public SPCachedObject(
string id,
Object data,
string parentId,
TimeSpan expireAfter
)
Parameters
- id
Type: System.String
- data
Type: System.Object
- parentId
Type: System.String
The identifier of the parent object.
- expireAfter
Type: System.TimeSpan