InterfaceQueuingAttribute 생성자

정의

클래스의 새 인스턴스를 InterfaceQueuingAttribute 초기화하여 큐 지원을 사용하도록 설정합니다.

오버로드

Name Description
InterfaceQueuingAttribute()

클래스 설정 및 속성을 기본값으로 설정하는 InterfaceQueuingAttributeEnabled 새 인스턴스 Interface 를 초기화합니다.

InterfaceQueuingAttribute(Boolean)

필요에 따라 큐 지원을 사용하지 않도록 설정하여 클래스의 InterfaceQueuingAttribute 새 인스턴스를 초기화합니다.

InterfaceQueuingAttribute()

클래스 설정 및 속성을 기본값으로 설정하는 InterfaceQueuingAttributeEnabled 새 인스턴스 Interface 를 초기화합니다.

public:
 InterfaceQueuingAttribute();
public InterfaceQueuingAttribute();
Public Sub New ()

예제

다음 코드 예제에서는 새 InterfaceQueuingAttribute를 만듭니다.

[InterfaceQueuing]
interface class IInterfaceQueuingAttribute_Ctor{};
[InterfaceQueuing]
public interface IInterfaceQueuingAttribute_Ctor
{
}
<InterfaceQueuing()>  _
Public Interface IInterfaceQueuingAttribute_Ctor
End Interface 'IInterfaceQueuingAttribute_Ctor

설명

다음 표에서는 InterfaceQueuingAttribute인스턴스에 대한 초기 속성 값을 보여 줍니다.

재산 가치
활성화됨 true
인터페이스 null

적용 대상

InterfaceQueuingAttribute(Boolean)

필요에 따라 큐 지원을 사용하지 않도록 설정하여 클래스의 InterfaceQueuingAttribute 새 인스턴스를 초기화합니다.

public:
 InterfaceQueuingAttribute(bool enabled);
public InterfaceQueuingAttribute(bool enabled);
new System.EnterpriseServices.InterfaceQueuingAttribute : bool -> System.EnterpriseServices.InterfaceQueuingAttribute
Public Sub New (enabled As Boolean)

매개 변수

enabled
Boolean

true큐 지원을 사용하도록 설정하려면 다음을 사용합니다. 그렇지 않으면 . false

예제

다음 코드 예제에서는 새 InterfaceQueuingAttribute를 만듭니다.

[InterfaceQueuing(true)]
interface class IInterfaceQueuingAttribute_Ctor_Bool{};
[InterfaceQueuing(true)]
public interface IInterfaceQueuingAttribute_Ctor_Bool
{
}
<InterfaceQueuing(True)>  _
Public Interface IInterfaceQueuingAttribute_Ctor_Bool
End Interface 'IInterfaceQueuingAttribute_Ctor_Bool

적용 대상