WSFederationSerializer.GetRequestAsString 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.
Serializes the specified RequestSecurityToken object into a string.
public:
virtual System::String ^ GetRequestAsString(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public virtual string GetRequestAsString (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member GetRequestAsString : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> string
override this.GetRequestAsString : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> string
Public Overridable Function GetRequestAsString (request As RequestSecurityToken, context As WSTrustSerializationContext) As String
Parameters
- request
- RequestSecurityToken
The RequestSecurityToken object to serialize.
- context
- WSTrustSerializationContext
The current serialization context.
Returns
A serialized string representation of the RequestSecurityToken object.
Exceptions
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.