MembershipUserNameSecurityTokenHandler Constructor

.NET Framework 4.5

Initializes a new instance of the MembershipUserNameSecurityTokenHandler class that uses the default membership provider that is configured for the application.

Namespace:  System.IdentityModel.Services.Tokens
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public MembershipUserNameSecurityTokenHandler()

ExceptionCondition
InvalidOperationException

No default membership provider is configured for the application.

.NET Framework

Supported in: 4.6

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft