SecurityTokenServiceConfiguration Constructor (String, Boolean)
Initializes an instance of T:Microsoft.IdentityModel.Configuration.SecurityTokenServiceConfiguration.
Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Usage
Dim issuerName As String
Dim loadConfig As Boolean
Dim instance As New SecurityTokenServiceConfiguration(issuerName, loadConfig)
Syntax
'Declaration
Public Sub New ( _
issuerName As String, _
loadConfig As Boolean _
)
public SecurityTokenServiceConfiguration (
string issuerName,
bool loadConfig
)
public:
SecurityTokenServiceConfiguration (
String^ issuerName,
bool loadConfig
)
public SecurityTokenServiceConfiguration (
String issuerName,
boolean loadConfig
)
public function SecurityTokenServiceConfiguration (
issuerName : String,
loadConfig : boolean
)
Parameters
- issuerName
The issuer name.
- loadConfig
Whether or not the configuration file should be loaded.
Exceptions
| Exception type | Condition |
|---|
Remarks
The IssuerName must be set before the P:Microsoft.IdentityModel.Configuration.SecurityTokenServiceConfiguration.SecurityTokenService is used to create a token.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also
Reference
SecurityTokenServiceConfiguration Class
SecurityTokenServiceConfiguration Members
Microsoft.IdentityModel.Configuration Namespace