다음을 통해 공유


DataCacheSecurity 생성자 (DataCacheSecurityMode, DataCacheProtectionLevel)

DataCacheSecurity 클래스의 새 인스턴스를 초기화하고 인스턴스에 대해 DataCacheSecurityModeDataCacheProtectionLevel을 지정하도록 허용합니다.

네임스페이스: Microsoft.ApplicationServer.Caching
어셈블리: Microsoft.ApplicationServer.Caching.Core(위치: microsoft.applicationserver.caching.core.dll)

사용

구문

‘선언
Public Sub New ( _
    securityMode As DataCacheSecurityMode, _
    protectionLevel As DataCacheProtectionLevel _
)
public DataCacheSecurity (
    DataCacheSecurityMode securityMode,
    DataCacheProtectionLevel protectionLevel
)
public:
DataCacheSecurity (
    DataCacheSecurityMode securityMode, 
    DataCacheProtectionLevel protectionLevel
)
public DataCacheSecurity (
    DataCacheSecurityMode securityMode, 
    DataCacheProtectionLevel protectionLevel
)
public function DataCacheSecurity (
    securityMode : DataCacheSecurityMode, 
    protectionLevel : DataCacheProtectionLevel
)

매개 변수

  • securityMode
    없음(정수 값 1)으로 설정하여 채널 보안을 사용하지 않도록 지정했는지, 아니면 전송(정수 값 2)으로 설정하여 채널 보안을 사용하도록 지정했는지 나타내는 열거입니다.
  • protectionLevel
    클라이언트와 서버 사이에서 전송되는 데이터의 서명 및/또는 암호화 여부를 나타내는 열거입니다. 가능한 반환 값은 서명 또는 암호화 없음(정수 값 1), 서명만(정수 값 2) 및 암호화 및 서명 모두(정수 값 3)입니다.

    이 속성은 SecurityMode 속성이 전송(정수 값 2)으로 설정된 경우에만 유효합니다.

플랫폼

개발 플랫폼

Visual Studio 2010 이상, .NET Framework 4

대상 플랫폼

Windows 7; Windows Server 2008 R2; Windows Server 2008 서비스 팩 2; Windows Vista 서비스 팩 2

참고 항목

참조 항목

DataCacheSecurity 클래스
DataCacheSecurity 구성원
Microsoft.ApplicationServer.Caching 네임스페이스