Initializes an instance of WSFederationMessage.
Namespace: Microsoft.IdentityModel.Protocols.WSFederation
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim baseUrl As Uri
Dim action As String

Dim instance As New WSFederationMessage(baseUrl, action)

Syntax

Visual Basic
Protected Sub New ( _
		baseUrl As Uri, _
		action As String _
)
C#
protected WSFederationMessage (
		Uri baseUrl,
		string action
)
C++
protected:
WSFederationMessage (
		Uri^ baseUrl, 
		String^ action
)
J#
protected WSFederationMessage (
		Uri baseUrl, 
		String action
)
JScript
protected function WSFederationMessage (
		baseUrl : Uri, 
		action : String
)

Parameters

baseUrl
action

The action parameter of the message.

Exceptions

Exception type Condition
ArgumentNullException

BaseUri is null.

ArgumentException

Action parameter is either empty or null.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also