MustRunInClientContextAttribute 생성자

정의

MustRunInClientContextAttribute 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
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

적용 대상