DispatchRuntime.MessageInspectors Property
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 IDispatchMessageInspector objects that can be used to attach a custom message inspector for all incoming and outgoing messages across the endpoint.
public:
property System::Collections::Generic::SynchronizedCollection<System::ServiceModel::Dispatcher::IDispatchMessageInspector ^> ^ MessageInspectors { System::Collections::Generic::SynchronizedCollection<System::ServiceModel::Dispatcher::IDispatchMessageInspector ^> ^ get(); };
public System.Collections.Generic.SynchronizedCollection<System.ServiceModel.Dispatcher.IDispatchMessageInspector> MessageInspectors { get; }
member this.MessageInspectors : System.Collections.Generic.SynchronizedCollection<System.ServiceModel.Dispatcher.IDispatchMessageInspector>
Public ReadOnly Property MessageInspectors As SynchronizedCollection(Of IDispatchMessageInspector)
A SynchronizedCollection<T> object of type IDispatchMessageInspector.
Use the MessageInspectors property to attach custom IDispatchMessageInspector objects that can inspect or transform all messages that flow through the endpoint. Because the IDispatchMessageInspector object gets a reference to the message, you can buffer it and examine a copy of the body.
Производ | Верзије |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: