WSTrustServiceContract Klasa

Definicja

Definicja implementacji kontraktu usługi WS-Trust.

public ref class WSTrustServiceContract : System::ServiceModel::Description::IContractBehavior, System::ServiceModel::Description::IWsdlExportExtension, System::ServiceModel::Security::IWSTrust13AsyncContract, System::ServiceModel::Security::IWSTrust13SyncContract, System::ServiceModel::Security::IWSTrustFeb2005AsyncContract, System::ServiceModel::Security::IWSTrustFeb2005SyncContract
[System.ServiceModel.Activation.AspNetCompatibilityRequirements(RequirementsMode=System.ServiceModel.Activation.AspNetCompatibilityRequirementsMode.Allowed)]
[System.ServiceModel.ServiceBehavior(ConcurrencyMode=System.ServiceModel.ConcurrencyMode.Multiple, InstanceContextMode=System.ServiceModel.InstanceContextMode.Single, Name="SecurityTokenService", Namespace="http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice")]
public class WSTrustServiceContract : System.ServiceModel.Description.IContractBehavior, System.ServiceModel.Description.IWsdlExportExtension, System.ServiceModel.Security.IWSTrust13AsyncContract, System.ServiceModel.Security.IWSTrust13SyncContract, System.ServiceModel.Security.IWSTrustFeb2005AsyncContract, System.ServiceModel.Security.IWSTrustFeb2005SyncContract
[<System.ServiceModel.Activation.AspNetCompatibilityRequirements(RequirementsMode=System.ServiceModel.Activation.AspNetCompatibilityRequirementsMode.Allowed)>]
[<System.ServiceModel.ServiceBehavior(ConcurrencyMode=System.ServiceModel.ConcurrencyMode.Multiple, InstanceContextMode=System.ServiceModel.InstanceContextMode.Single, Name="SecurityTokenService", Namespace="http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice")>]
type WSTrustServiceContract = class
    interface IWSTrustFeb2005SyncContract
    interface IWSTrust13SyncContract
    interface IWSTrustFeb2005AsyncContract
    interface IWSTrust13AsyncContract
    interface IWsdlExportExtension
    interface IContractBehavior
Public Class WSTrustServiceContract
Implements IContractBehavior, IWsdlExportExtension, IWSTrust13AsyncContract, IWSTrust13SyncContract, IWSTrustFeb2005AsyncContract, IWSTrustFeb2005SyncContract
Dziedziczenie
WSTrustServiceContract
Atrybuty
Implementuje

Uwagi

Implementuje następujące interfejsy kontraktów usług:

Konstruktory

WSTrustServiceContract(SecurityTokenServiceConfiguration)

Inicjuje nowe wystąpienie klasy WSTrustServiceContract.

Właściwości

SecurityTokenServiceConfiguration

Pobiera konfigurację usługi.

Metody

AddBindingParameters(ContractDescription, ServiceEndpoint, BindingParameterCollection)

Konfiguruje wszystkie elementy powiązania w celu obsługi zachowania kontraktu.

ApplyClientBehavior(ContractDescription, ServiceEndpoint, ClientRuntime)

Opis kontraktu, dla którego ma być przeznaczone rozszerzenie.

ApplyDispatchBehavior(ContractDescription, ServiceEndpoint, DispatchRuntime)

Implementuje modyfikację lub rozszerzenie klienta w ramach kontraktu.

BeginDispatchRequest(DispatchContext, AsyncCallback, Object)

Rozpoczyna asynchroniczne wywołanie metody DispatchRequest(DispatchContext).

BeginProcessCore(Message, WSTrustRequestSerializer, WSTrustResponseSerializer, String, String, String, AsyncCallback, Object)

Obsługuje asynchroniczne wywołanie usługi STS.

BeginTrust13Cancel(Message, AsyncCallback, Object)

Przetwarza wywołanie asynchroniczne do WS-Trust 1 lutego 1.3 Anuluj wiadomość.

BeginTrust13CancelResponse(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu WS-Trust 1.3 RSTR/Cancel.

BeginTrust13Issue(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu o problemie WS-Trust 1.3.

BeginTrust13IssueResponse(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu WS-Trust 1.3 RSTR/Problem.

BeginTrust13Renew(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu WS-Trust 1.3 Odnów.

BeginTrust13RenewResponse(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu WS-Trust 1.3 RSTR/Renew.

BeginTrust13Validate(Message, AsyncCallback, Object)

Przetwarza wywołanie asynchroniczne do komunikatu weryfikacji WS-Trust 1.3.

BeginTrust13ValidateResponse(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu WS-Trust 1.3 RSTR/Validate.

BeginTrustFeb2005Cancel(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu WS-Trust lutego 2005 r. Anuluj.

BeginTrustFeb2005CancelResponse(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu WS-Trust lutego 2005 RSTR/Anuluj.

BeginTrustFeb2005Issue(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu problemu WS-Trust lutego 2005 r.

BeginTrustFeb2005IssueResponse(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu WS-Trust lutego 2005 RSTR/Problem.

BeginTrustFeb2005Renew(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu WS-Trust lutego 2005 r. Odnów.

BeginTrustFeb2005RenewResponse(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu WS-Trust lutego 2005 RSTR/Renew.

BeginTrustFeb2005Validate(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu weryfikacji WS-Trust lutego 2005 r.

BeginTrustFeb2005ValidateResponse(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu WS-Trust lutego 2005 RSTR/Validate.

CreateDispatchContext(Message, String, String, String, WSTrustRequestSerializer, WSTrustResponseSerializer, WSTrustSerializationContext)

DispatchContext Tworzy obiekt do użycia przez metodę DispatchRequest(DispatchContext) .

CreateSerializationContext()

WSTrustSerializationContext Tworzy obiekt przy użyciu lokalnych informacji rozpoznawania nazw WSTrustServiceClient.

DispatchRequest(DispatchContext)

Przetwarza komunikat żądania WS-Trust i opcjonalnie określa odpowiedni komunikat odpowiedzi i akcję WS-Addressing dla komunikatu odpowiedzi.

EndDispatchRequest(IAsyncResult)

Kończy asynchroniczne wywołanie metody .DispatchRequest(DispatchContext)

EndProcessCore(IAsyncResult, String, String, String)

Kończy asynchroniczne wywołanie usługi STS.

EndTrust13Cancel(IAsyncResult)

Kończy asynchroniczne wywołanie komunikatu WS-Trust 1.3 Anuluj.

EndTrust13CancelResponse(IAsyncResult)

Kończy asynchroniczne wywołanie komunikatu WS-Trust 1.3 RSTR/Cancel.

EndTrust13Issue(IAsyncResult)

Kończy asynchroniczne wywołanie komunikatu o problemie WS-Trust 1.3.

EndTrust13IssueResponse(IAsyncResult)

Kończy asynchroniczne wywołanie komunikatu WS-Trust 1.3 RSTR/Problem.

EndTrust13Renew(IAsyncResult)

Kończy asynchroniczne wywołanie komunikatu WS-Trust 1.3 Odnów.

EndTrust13RenewResponse(IAsyncResult)

Wykonuje asynchroniczne wywołanie komunikatu WS-Trust 1.3 RSTR/Renew.

EndTrust13Validate(IAsyncResult)

Kończy asynchroniczne wywołanie komunikatu weryfikacji WS-Trust 1.3.

EndTrust13ValidateResponse(IAsyncResult)

Kończy asynchroniczne wywołanie komunikatu WS-Trust 1.3 RSTR/Validate.

EndTrustFeb2005Cancel(IAsyncResult)

Kończy asynchroniczne wywołanie WS-Trust lutego 2005 r. Anuluj wiadomość.

EndTrustFeb2005CancelResponse(IAsyncResult)

Kończy asynchroniczne wywołanie WS-Trust lutego 2005 RSTR/Anuluj wiadomość.

EndTrustFeb2005Issue(IAsyncResult)

Wykonaj asynchroniczne wywołanie zaufania z lutego 2005 r. Anuluj wiadomość.

EndTrustFeb2005IssueResponse(IAsyncResult)

Kończy asynchroniczne wywołanie WS-Trust lutego 2005 RSTR/Problem.

EndTrustFeb2005Renew(IAsyncResult)

Kończy asynchroniczne wywołanie wiadomości z WS-Trust lutego 2005 r. Odnów.

EndTrustFeb2005RenewResponse(IAsyncResult)

Kończy asynchroniczne wywołanie WS-Trust lutego 2005 RSTR/Odnów wiadomość.

EndTrustFeb2005Validate(IAsyncResult)

Kończy asynchroniczne wywołanie komunikatu weryfikacji WS-Trust lutego 2005 r.

EndTrustFeb2005ValidateResponse(IAsyncResult)

Kończy asynchroniczne wywołanie komunikatu WS-Trust lutego 2005 RSTR/Validate.

Equals(Object)

Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.

(Odziedziczone po Object)
ExportContract(WsdlExporter, WsdlContractConversionContext)

Po zaimplementowaniu w klasie pochodnej elementy niestandardowego języka opisu usług sieci Web (WSDL) są zapisywane w wygenerowanym języku WSDL dla kontraktu.

ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

Zapisuje niestandardowe elementy języka opisu usług sieci Web (WSDL) do wygenerowanego WSDL dla punktu końcowego.

FixMessageElement(ServiceDescription, PortType, WsdlEndpointConversionContext, String, XmlQualifiedName, XmlQualifiedName)

Podczas generowania WSDL ta metoda naprawia określony element komunikatu operacji, aby odwoływać się do elementów RST i RSTR odpowiedniej wersji WS-Trust.

GetHashCode()

Służy jako domyślna funkcja skrótu.

(Odziedziczone po Object)
GetRstSecurityTokenResolver()

Zwraca wartość SecurityTokenResolver , która będzie używana podczas rozpoznawania tokenów i kluczy w treści komunikatu WS-Trust.

GetSecurityHeaderTokenResolver(RequestContext)

Zwraca wartość SecurityTokenResolver rozpoznawaną przez następujące tokeny zabezpieczające zawarte w nagłówku zabezpieczeń bieżącego żądania komunikatu WCF: token ochrony, obsługa endoringu lub podpisanych tokenów pomocniczych.

GetType()

Type Pobiera bieżące wystąpienie.

(Odziedziczone po Object)
HandleException(Exception, String, String, EnvelopeVersion)

Zgłasza zdarzenie i konwertuje RequestFailed określony wyjątek na wartość , FaultException jeśli jest to wymagane. Jeśli oryginalny wyjątek to FaultException lub jeśli flaga PreserveOriginalException jest ustawiona na true, konwersja na nie FaultException jest wykonywana.

ImportSchema(WsdlExporter, WsdlEndpointConversionContext, String)

Importuje wszystkie wymagane schematy, jeśli jeszcze nie istnieją w języku WSDL.

IncludeNamespace(WsdlEndpointConversionContext, String, String)

Dodaje wymagane WS-Trust przestrzeni nazw do WSDL, jeśli jeszcze nie istnieje.

MemberwiseClone()

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
ProcessCore(Message, WSTrustRequestSerializer, WSTrustResponseSerializer, String, String, String)

Obsługuje synchroniczne wywołania do usługi STS.

ProcessTrust13Cancel(Message)

Przetwarza WS-Trust 1.3 Anuluj komunikat synchronicznie.

ProcessTrust13CancelResponse(Message)

Przetwarza WS-Trust 1.3 RSTR/Anuluj komunikat synchronicznie.

ProcessTrust13Issue(Message)

Przetwórz WS-Trust 1.3 Komunikat o problemie synchronicznie.

ProcessTrust13IssueResponse(Message)

Przetwarza WS-Trust 1.3 RSTR/Anuluj komunikat synchronicznie.

ProcessTrust13Renew(Message)

Przetwarza WS-Trust 1.3 Odnawianie komunikatu synchronicznie.

ProcessTrust13RenewResponse(Message)

Przetwarza komunikat WS-Trust 1.3 RSTR/Renew synchronicznie.

ProcessTrust13Validate(Message)

Przetwarza WS-Trust 1.3 Zweryfikuj komunikat synchronicznie.

ProcessTrust13ValidateResponse(Message)

Przetwarza WS-Trust 1.3 RSTR/Validate komunikat synchronicznie.

ProcessTrustFeb2005Cancel(Message)

Przetwarza WS-Trust luty 2005 Anuluj komunikat synchronicznie.

ProcessTrustFeb2005CancelResponse(Message)

Przetwarza WS-Trust 2005 RSTR/Anuluj komunikat synchronicznie.

ProcessTrustFeb2005Issue(Message)

Przetwarza WS-Trust lutego 2005 r. Komunikat o problemie synchronicznie.

ProcessTrustFeb2005IssueResponse(Message)

Przetwarza WS-Trust 2005 RSTR/Problem komunikat synchronicznie.

ProcessTrustFeb2005Renew(Message)

Przetwarza WS-Trust luty 2005 Odnawianie komunikatu synchronicznie.

ProcessTrustFeb2005RenewResponse(Message)

Przetwarza komunikat WS-Trust lutego 2005 RSTR/Renew synchronicznie.

ProcessTrustFeb2005Validate(Message)

Przetwarza WS-Trust lutego 2005 r. Synchronicznie weryfikuje komunikat.

ProcessTrustFeb2005ValidateResponse(Message)

Przetwarza WS-Trust 2005 RSTR/Validate komunikat synchronicznie.

ToString()

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)
Validate(ContractDescription, ServiceEndpoint)

Po zaimplementowaniu w klasie pochodnej potwierdza, że kontrakt i punkt końcowy mogą obsługiwać zachowanie kontraktu.

ValidateDispatchContext(DispatchContext)

Weryfikuje określony DispatchContext obiekt.

Zdarzenia

RequestFailed

Występuje, gdy wystąpi błąd podczas przetwarzania żądania WS-Trust od klienta.

Dotyczy