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.
Assembly: Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)
public DataCacheSecurity(
DataCacheSecurityMode securityMode,
DataCacheProtectionLevel protectionLevel
)
Parameters
- securityMode
-
Type:
Microsoft.ApplicationServer.Caching.DataCacheSecurityMode
Enumeration indicating if channel security is disabled by setting to None; or if channel security is enabled by setting to Transport.
- protectionLevel
-
Type:
Microsoft.ApplicationServer.Caching.DataCacheProtectionLevel
Enumeration indicating whether data sent between client and server is signed and/or encrypted.
This property is only valid when the SecurityMode property is set to Transport.
Show: