MessageSecurityException Constructor (String^, Exception^)

 

Initializes a new instance of the MessageSecurityException class with an error string and a reference to the inner exception that is the cause of this exception.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
MessageSecurityException(
	String^ message,
	Exception^ innerException
)

Parameters

message
Type: System::String^

The error message.

innerException
Type: System::Exception^

The inner exception reference.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: