MustRunInClientContextAttribute 생성자

정의

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

적용 대상