RemoteFailureContext Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RemoteFailureContext.
public:
RemoteFailureContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::RemoteAuthenticationOptions ^ options, Exception ^ failure);
public RemoteFailureContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions options, Exception failure);
new Microsoft.AspNetCore.Authentication.RemoteFailureContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions * Exception -> Microsoft.AspNetCore.Authentication.RemoteFailureContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As RemoteAuthenticationOptions, failure As Exception)
Parameters
- context
- HttpContext
The HttpContext.
- scheme
- AuthenticationScheme
The AuthenticationScheme.
- options
- RemoteAuthenticationOptions
- failure
- Exception
User friendly error message for the error.