Share via


DataCacheSecurity Constructor (DataCacheSecurityMode, DataCacheProtectionLevel)

 

Initializes a new instance of the DataCacheSecurity class, allows you to specify the DataCacheSecurityMode and DataCacheProtectionLevel for the instance. Applies only to the server versions of AppFabric.

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

Syntax

public DataCacheSecurity(
    DataCacheSecurityMode securityMode,
    DataCacheProtectionLevel protectionLevel
)
public:
DataCacheSecurity(
    DataCacheSecurityMode securityMode,
    DataCacheProtectionLevel protectionLevel
)
new : 
        securityMode:DataCacheSecurityMode *
        protectionLevel:DataCacheProtectionLevel -> DataCacheSecurity
Public Sub New (
    securityMode As DataCacheSecurityMode,
    protectionLevel As DataCacheProtectionLevel
)

Parameters

See Also

DataCacheSecurity Overload
DataCacheSecurity Class
Microsoft.ApplicationServer.Caching Namespace

Return to top