다음을 통해 공유


ClientCodeGenerationOptions.IsApplicationContextGenerationEnabled 속성

응용 프로그램 수준 코드 생성을 수행할지 여부를 나타내는 값을 가져오거나 설정합니다.

네임스페이스: Microsoft.ServiceModel.DomainServices.Tools
어셈블리: microsoft.servicemodel.domainservices.tools.dll의 Microsoft.ServiceModel.DomainServices.Tools

사용법

‘사용 방법
Dim instance As ClientCodeGenerationOptions
Dim value As Boolean

value = instance.IsApplicationContextGenerationEnabled

instance.IsApplicationContextGenerationEnabled = value

구문

‘선언
Public Property IsApplicationContextGenerationEnabled As Boolean
public bool IsApplicationContextGenerationEnabled { get; set; }
public:
property bool IsApplicationContextGenerationEnabled {
    bool get ();
    void set (bool value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public boolean get_IsApplicationContextGenerationEnabled ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_IsApplicationContextGenerationEnabled (boolean value)
CompilerGeneratedAttribute 
public function get IsApplicationContextGenerationEnabled () : boolean

CompilerGeneratedAttribute 
public function set IsApplicationContextGenerationEnabled (value : boolean)

속성 값

응용 프로그램 수준 코드 생성이 허용되면 true이고, 그렇지 않으면 false입니다.

설명

이 속성은 도메인 서비스에 직접 연결되지 않은 클래스에 대해 코드 생성이 발생하는지 여부를 제어합니다.

스레드 보안

이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 모든 인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008 및 Windows 2000

대상 플랫폼

참고 항목

참조

ClientCodeGenerationOptions 클래스
ClientCodeGenerationOptions 멤버
Microsoft.ServiceModel.DomainServices.Tools 네임스페이스