Modifica

Condividi tramite


WSTrustServiceContract.ValidateDispatchContext(DispatchContext) Method

Definition

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