Επεξεργασία

Κοινή χρήση μέσω


BindingOption Enum

Definition

Indicates whether all work submitted by Activity should be bound to only one single-threaded apartment (STA). This enumeration has no impact on the multithreaded apartment (MTA).

public enum class BindingOption
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum BindingOption
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type BindingOption = 
Public Enum BindingOption
Inheritance
BindingOption
Attributes

Fields

Name Value Description
NoBinding 0

The work submitted by the activity is not bound to a single STA.

BindingToPoolThread 1

The work submitted by the activity is bound to a single STA.

Applies to