BindingOption BindingOption BindingOption BindingOption Enum

定义

指示是否将由 Activity 提交的所有工作仅绑定到一个单线程单元 (STA)。 此枚举对多线程单元 (MTA) 不起作用。This enumeration has no impact on the multithreaded apartment (MTA).

public enum class BindingOption
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum BindingOption
type BindingOption = 
Public Enum BindingOption
继承
BindingOptionBindingOptionBindingOptionBindingOption
属性

字段

BindingToPoolThread BindingToPoolThread BindingToPoolThread BindingToPoolThread 1

该活动提交的工作被绑定到单个 STA。The work submitted by the activity is bound to a single STA.

NoBinding NoBinding NoBinding NoBinding 0

该活动提交的工作未被绑定到单个 STA。The work submitted by the activity is not bound to a single STA.

适用于