ICustomProvider.GetStoreUtcTime Method (Object)

 

Obtains the current UTC time based on the clock for the configuration store.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

Syntax

DateTime GetStoreUtcTime(
    object transactionContext
)
DateTime GetStoreUtcTime(
    Object^ transactionContext
)
abstract GetStoreUtcTime : 
        transactionContext:Object -> DateTime
Function GetStoreUtcTime (
    transactionContext As Object
) As Date

Parameters

  • transactionContext
    Type: System.Object

    The transaction context object.

Return Value

Type: System.DateTime

Returns DateTime.

Remarks

If the configuration store is shared by multiple clients at different locations, every client must obtain the same time as it exists on the configuration store machine.

See Also

ICustomProvider Interface
Microsoft.ApplicationServer.Caching Namespace

Return to top