Język

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

Nazwa Opis
WSTrustServiceContract(SecurityTokenServiceConfiguration)

Inicjuje nowe wystąpienie klasy WSTrustServiceContract.

Właściwości

Nazwa Opis
SecurityTokenServiceConfiguration

Pobiera konfigurację usługi.

Metody

Nazwa Opis
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 asynchroniczne wywołanie do WS-Trust 1.3 lutego 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 z 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 odnawiania WS-Trust 1.3.

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 WS-Trust lutego 2005 Anuluj wiadomość.

BeginTrustFeb2005CancelResponse(Message, AsyncCallback, Object)

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

BeginTrustFeb2005Issue(Message, AsyncCallback, Object)

Przetwarza asynchroniczne wywołanie komunikatu o problemie z 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 odnawiania WS-Trust lutego 2005 r.

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)

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

CreateSerializationContext()

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

DispatchRequest(DispatchContext)

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

EndDispatchRequest(IAsyncResult)

Wykonuje asynchroniczne wywołanie metody .DispatchRequest(DispatchContext)

EndProcessCore(IAsyncResult, String, String, String)

Wykonuje asynchroniczne wywołanie usługi STS.

EndTrust13Cancel(IAsyncResult)

Wykonuje asynchroniczne wywołanie komunikatu WS-Trust 1.3 Anuluj.

EndTrust13CancelResponse(IAsyncResult)

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

EndTrust13Issue(IAsyncResult)

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

EndTrust13IssueResponse(IAsyncResult)

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

EndTrust13Renew(IAsyncResult)

Wykonuje wywołanie asynchroniczne do komunikatu odnawiania WS-Trust 1.3.

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)

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

EndTrustFeb2005Cancel(IAsyncResult)

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

EndTrustFeb2005CancelResponse(IAsyncResult)

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

EndTrustFeb2005Issue(IAsyncResult)

Ukończ asynchroniczne wywołanie zaufania w lutym 2005 r. Anuluj wiadomość.

EndTrustFeb2005IssueResponse(IAsyncResult)

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

EndTrustFeb2005Renew(IAsyncResult)

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

EndTrustFeb2005RenewResponse(IAsyncResult)

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

EndTrustFeb2005Validate(IAsyncResult)

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

EndTrustFeb2005ValidateResponse(IAsyncResult)

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

Equals(Object)

Określa, czy określony obiekt jest równy bieżącemu obiektowi.

(Odziedziczone po Object)
ExportContract(WsdlExporter, WsdlContractConversionContext)

Po zaimplementowaniu w klasie pochodnej zapisuje niestandardowe elementy języka WSDL (Web Services Description Language) w wygenerowanym języku WSDL dla kontraktu.

ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

Zapisuje niestandardowe elementy języka opisu usług sieci Web (WSDL) w wygenerowanym języku 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 , która rozpoznaje następujące tokeny zabezpieczające zawarte w nagłówku zabezpieczeń bieżącego żądania komunikatu programu WCF: token ochrony, aproryzowanie lub podpisane tokeny pomocnicze.

GetType()

Pobiera Type bieżącego wystąpienia.

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

Zgłasza zdarzenie RequestFailed i konwertuje 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 element FaultException nie jest wykonywana.

ImportSchema(WsdlExporter, WsdlEndpointConversionContext, String)

Importuje wszystkie wymagane schematy, jeśli nie są jeszcze obecne 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 Object.

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

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

ProcessTrust13Cancel(Message)

Przetwarza synchronicznie WS-Trust 1.3 Anuluj komunikat.

ProcessTrust13CancelResponse(Message)

Przetwarza WS-Trust 1.3 RSTR/Anuluj komunikat synchronicznie.

ProcessTrust13Issue(Message)

Przetwarzaj 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 WS-Trust 1.3 RSTR/Renew komunikat synchronicznie.

ProcessTrust13Validate(Message)

Przetwarza WS-Trust 1.3 Synchronicznie weryfikuje komunikat.

ProcessTrust13ValidateResponse(Message)

Przetwarza WS-Trust 1.3 RSTR/Validate komunikat synchronicznie.

ProcessTrustFeb2005Cancel(Message)

Przetwarza WS-Trust lut 2005 Anuluj komunikat synchronicznie.

ProcessTrustFeb2005CancelResponse(Message)

Przetwarza komunikat WS-Trust lut 2005 RSTR/Cancel synchronicznie.

ProcessTrustFeb2005Issue(Message)

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

ProcessTrustFeb2005IssueResponse(Message)

Przetwarza komunikat WS-Trust z lutego 2005 RSTR/Problem synchronicznie.

ProcessTrustFeb2005Renew(Message)

Przetwarza WS-Trust lut 2005 Odnawianie komunikatu synchronicznie.

ProcessTrustFeb2005RenewResponse(Message)

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

ProcessTrustFeb2005Validate(Message)

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

ProcessTrustFeb2005ValidateResponse(Message)

Przetwarza WS-Trust lutego 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)

Sprawdza poprawność określonego DispatchContext obiektu.

Zdarzenia

Nazwa Opis
RequestFailed

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

Dotyczy