IssuedSecurityTokenParameters.CreateRequestParameters 方法

定义

创建已颁发令牌请求参数 XML 元素的集合,这些元素包含在客户端发送至安全令牌服务的请求中。

public:
 System::Collections::ObjectModel::Collection<System::Xml::XmlElement ^> ^ CreateRequestParameters(System::ServiceModel::MessageSecurityVersion ^ messageSecurityVersion, System::IdentityModel::Selectors::SecurityTokenSerializer ^ securityTokenSerializer);
public System.Collections.ObjectModel.Collection<System.Xml.XmlElement> CreateRequestParameters (System.ServiceModel.MessageSecurityVersion messageSecurityVersion, System.IdentityModel.Selectors.SecurityTokenSerializer securityTokenSerializer);
member this.CreateRequestParameters : System.ServiceModel.MessageSecurityVersion * System.IdentityModel.Selectors.SecurityTokenSerializer -> System.Collections.ObjectModel.Collection<System.Xml.XmlElement>
Public Function CreateRequestParameters (messageSecurityVersion As MessageSecurityVersion, securityTokenSerializer As SecurityTokenSerializer) As Collection(Of XmlElement)

参数

messageSecurityVersion
MessageSecurityVersion

消息安全版本。

securityTokenSerializer
SecurityTokenSerializer

安全令牌序列化程序。

返回

一个 Collection<T>,包含表示请求参数的 XML 元素。

适用于