DispatchRuntime.InstanceContextInitializers 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 a collection of IInstanceContextInitializer objects that can be used to inspect or modify an InstanceContext object when it is first created.
public:
property System::Collections::Generic::SynchronizedCollection<System::ServiceModel::Dispatcher::IInstanceContextInitializer ^> ^ InstanceContextInitializers { System::Collections::Generic::SynchronizedCollection<System::ServiceModel::Dispatcher::IInstanceContextInitializer ^> ^ get(); };
public System.Collections.Generic.SynchronizedCollection<System.ServiceModel.Dispatcher.IInstanceContextInitializer> InstanceContextInitializers { get; }
member this.InstanceContextInitializers : System.Collections.Generic.SynchronizedCollection<System.ServiceModel.Dispatcher.IInstanceContextInitializer>
Public ReadOnly Property InstanceContextInitializers As SynchronizedCollection(Of IInstanceContextInitializer)
Property Value
A SynchronizedCollection<T> object of type IInstanceContextInitializer.
Remarks
Use the InstanceContextInitializers property to add a custom initializer that can inspect or modify an InstanceContext object when it is first created. The frequency with which InstanceContext objects are created is controlled by the InstanceContextMode property.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για