共用方式為


DataCacheProtectionLevel 列舉

指出在用戶端與伺服器之間傳送的資料是否已簽署和/或加密的列舉。可能的傳回值為無簽署或加密 (整數值等於 1)、僅簽署 (整數值等於 2),以及加密與簽署 (整數值等於 3)。

命名空間: Microsoft.ApplicationServer.Caching
組件: Microsoft.ApplicationServer.Caching.Core (於 microsoft.applicationserver.caching.core.dll)

使用方式

語法

'宣告
Public Enumeration DataCacheProtectionLevel
public enum DataCacheProtectionLevel
public enum class DataCacheProtectionLevel
public enum DataCacheProtectionLevel
public enum DataCacheProtectionLevel

成員

成員名稱 描述
EncryptAndSign  
None  
Sign  

備註

只有當 SecurityMode 屬性設定為傳輸 (整數值等於 2) 時,此屬性才有效。

平台

開發平台

Visual Studio 2010 與更新版本, .NET Framework 4

目標平台

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

另請參閱

參考資料

Microsoft.ApplicationServer.Caching 命名空間