WSFederationMessage.CreateFromNameValueCollection 메서드
Creates a Federation from a NameValueCollection of parameters.
네임스페이스: Microsoft.IdentityModel.Protocols.WSFederation
어셈블리: Microsoft.IdentityModel(microsoft.identitymodel.dll에 있음)
사용법
Dim baseUrl As Uri Dim collection As NameValueCollection Dim returnValue As WSFederationMessage returnValue = WSFederationMessage.CreateFromNameValueCollection(baseUrl, collection)
구문
‘선언
Public Shared Function CreateFromNameValueCollection ( _
baseUrl As Uri, _
collection As NameValueCollection _
) As WSFederationMessage
public static WSFederationMessage CreateFromNameValueCollection (
Uri baseUrl,
NameValueCollection collection
)
public:
static WSFederationMessage^ CreateFromNameValueCollection (
Uri^ baseUrl,
NameValueCollection^ collection
)
public static WSFederationMessage CreateFromNameValueCollection (
Uri baseUrl,
NameValueCollection collection
)
public static function CreateFromNameValueCollection (
baseUrl : Uri,
collection : NameValueCollection
) : WSFederationMessage
매개 변수
- baseUrl
BaseUrl to which the message is intended.
- collection
NameValueCollection of the parmaters.
반환 값
Instance of WSFederation message of null if a message cannot be constructed.
예외
예외 유형 | 조건 |
---|---|
ArgumentException | This method can throw an ArgumentExcpetion for the following cases 1. A SignIn Response message has both the wresult and wresultptr parameter. 2. Action parameter is not recognized. |
스레드 안전성
이 유형의 공용 정적(Visual Basic에서는 Shared) 멤버는 모두 스레드로부터 안전합니다.인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.
플랫폼
개발 플랫폼
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
참고 항목
참조
WSFederationMessage 클래스
WSFederationMessage 멤버
Microsoft.IdentityModel.Protocols.WSFederation 네임스페이스