WSTrustServiceContract.ValidateDispatchContext(DispatchContext) Method
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.
Validates the specified DispatchContext object.
protected:
virtual void ValidateDispatchContext(System::ServiceModel::Security::DispatchContext ^ dispatchContext);
protected virtual void ValidateDispatchContext (System.ServiceModel.Security.DispatchContext dispatchContext);
abstract member ValidateDispatchContext : System.ServiceModel.Security.DispatchContext -> unit
override this.ValidateDispatchContext : System.ServiceModel.Security.DispatchContext -> unit
Protected Overridable Sub ValidateDispatchContext (dispatchContext As DispatchContext)
Parameters
- dispatchContext
- DispatchContext
The DispatchContext object to validate.
Remarks
This method ensures that the DispatchContext Object represents a legal request prior to being passed into the DispatchRequest method. The default implementation rejects incoming RST messages with RSTR actions and vice versa.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.