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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.