Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
InvalidRequestException Constructor (String)

InvalidRequestException Constructor (String)

.NET Framework 4.6 and 4.5

Initializes a new instance of the InvalidRequestException class with a specified error message.

Namespace:  System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public InvalidRequestException(
	string message
)

Parameters

message
Type: System.String

The error message that explains the reason for the exception.

This constructor initializes the Message property of the new exception using the message parameter. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

The following table shows the initial property values for the new instance.

Property

Value

InnerException

null.

Message

The error message string.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft