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.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om