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
securityMode
Type: Microsoft.ApplicationServer.Caching.DataCacheSecurityModeEnumeration 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.DataCacheProtectionLevelEnumeration 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.
See Also
DataCacheSecurity Overload
DataCacheSecurity Class
Microsoft.ApplicationServer.Caching Namespace
Return to top