WSTrustServiceContract.ValidateDispatchContext(DispatchContext) Metod

Definition

Verifierar det angivna DispatchContext objektet.

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)

Parametrar

dispatchContext
DispatchContext

Objektet DispatchContext som ska verifieras.

Kommentarer

Den här metoden säkerställer att DispatchContext objektet representerar en juridisk begäran innan det DispatchRequest skickas till metoden. Standardimplementeringen avvisar inkommande RST-meddelanden med RSTR-åtgärder och vice versa.

Gäller för