ServiceConfig.Binding Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the binding option, which indicates whether all work submitted by the activity is to be bound to only one single-threaded apartment (STA).
public:
property System::EnterpriseServices::BindingOption Binding { System::EnterpriseServices::BindingOption get(); void set(System::EnterpriseServices::BindingOption value); };
public System.EnterpriseServices.BindingOption Binding { get; set; }
member this.Binding : System.EnterpriseServices.BindingOption with get, set
Public Property Binding As BindingOption
Property Value
One of the BindingOption values. The default is NoBinding.
Remarks
Binding has no impact on the multithreaded apartment (MTA). This property is used to set the thread pool binding only when creating a Activity. An error is returned if an attempt is made to set the thread pool binding when calling Enter.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor