MustRunInClientContextAttribute 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
MustRunInClientContextAttribute 클래스의 새 인스턴스를 초기화합니다.
오버로드
MustRunInClientContextAttribute() |
작성자의 컨텍스트에서 개체를 만들도록 설정하여 MustRunInClientContextAttribute 클래스의 새 인스턴스를 초기화합니다. |
MustRunInClientContextAttribute(Boolean) |
선택적으로 작성자의 컨텍스트에서 개체를 만들지 않도록 설정하여 MustRunInClientContextAttribute 클래스의 새 인스턴스를 초기화합니다. |
MustRunInClientContextAttribute()
작성자의 컨텍스트에서 개체를 만들도록 설정하여 MustRunInClientContextAttribute 클래스의 새 인스턴스를 초기화합니다.
public:
MustRunInClientContextAttribute();
public MustRunInClientContextAttribute ();
Public Sub New ()
예제
다음 코드 예제에서는 새 MustRunInClientContextAttribute합니다.
[MustRunInClientContext]
public class MustRunInClientContextAttribute_Ctor : ServicedComponent
{
}
<MustRunInClientContext()> _
Public Class MustRunInClientContextAttribute_Ctor
Inherits ServicedComponent
End Class
적용 대상
MustRunInClientContextAttribute(Boolean)
선택적으로 작성자의 컨텍스트에서 개체를 만들지 않도록 설정하여 MustRunInClientContextAttribute 클래스의 새 인스턴스를 초기화합니다.
public:
MustRunInClientContextAttribute(bool val);
public MustRunInClientContextAttribute (bool val);
new System.EnterpriseServices.MustRunInClientContextAttribute : bool -> System.EnterpriseServices.MustRunInClientContextAttribute
Public Sub New (val As Boolean)
매개 변수
- val
- Boolean
작성자의 컨텍스트에서 개체를 만들면 true
이고, 그렇지 않으면 false
입니다.
예제
다음 코드 예제에서는 새 MustRunInClientContextAttribute합니다.
[MustRunInClientContext(false)]
public class MustRunInClientContextAttribute_Ctor_Bool : ServicedComponent
{
}
<MustRunInClientContext(False)> _
Public Class MustRunInClientContextAttribute_Ctor_Bool
Inherits ServicedComponent
End Class
적용 대상
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기