BindingOption 列舉

定義

指出由 Activity 送出的所有工作是否都應該繫結至唯一的單一執行緒 Apartment (STA)。 這個列舉對多執行緒 Apartment (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
繼承
BindingOption
屬性

欄位

BindingToPoolThread 1

由活動送出的工作會繫結至單一的 STA。The work submitted by the activity is bound to a single STA.

NoBinding 0

由活動送出的工作不會繫結至單一的 STA。The work submitted by the activity is not bound to a single STA.

適用於