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)

Public Sub New (
	securityMode As DataCacheSecurityMode,
	protectionLevel As DataCacheProtectionLevel


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.

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.

Return to top