UntrustedRecipientException UntrustedRecipientException UntrustedRecipientException UntrustedRecipientException Constructors

Definition

Overloads

UntrustedRecipientException() UntrustedRecipientException() UntrustedRecipientException()

Initializes an instance of the UntrustedRecipientException class.

UntrustedRecipientException(String) UntrustedRecipientException(String) UntrustedRecipientException(String) UntrustedRecipientException(String)

Initializes an instance of the UntrustedRecipientException class with the specified error message.

UntrustedRecipientException(SerializationInfo, StreamingContext) UntrustedRecipientException(SerializationInfo, StreamingContext) UntrustedRecipientException(SerializationInfo, StreamingContext) UntrustedRecipientException(SerializationInfo, StreamingContext)

Initializes an instance of the UntrustedRecipientException class with serialized data.

UntrustedRecipientException(String, Exception) UntrustedRecipientException(String, Exception) UntrustedRecipientException(String, Exception) UntrustedRecipientException(String, Exception)

Initializes an instance of the UntrustedRecipientException class with the specified error message and a reference to the inner exception that is the cause of this exception.

UntrustedRecipientException() UntrustedRecipientException() UntrustedRecipientException()

Initializes an instance of the UntrustedRecipientException class.

public:
 UntrustedRecipientException();
public UntrustedRecipientException ();
Public Sub New ()

UntrustedRecipientException(String) UntrustedRecipientException(String) UntrustedRecipientException(String) UntrustedRecipientException(String)

Initializes an instance of the UntrustedRecipientException class with the specified error message.

public:
 UntrustedRecipientException(System::String ^ message);
public UntrustedRecipientException (string message);
new System.IdentityModel.Selectors.UntrustedRecipientException : string -> System.IdentityModel.Selectors.UntrustedRecipientException
Public Sub New (message As String)

Parameters

message
String String String String

The message that describes the error.

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error and takes into account the current system culture. The content of the message should be understandable to the user.

UntrustedRecipientException(SerializationInfo, StreamingContext) UntrustedRecipientException(SerializationInfo, StreamingContext) UntrustedRecipientException(SerializationInfo, StreamingContext) UntrustedRecipientException(SerializationInfo, StreamingContext)

Initializes an instance of the UntrustedRecipientException class with serialized data.

protected:
 UntrustedRecipientException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected UntrustedRecipientException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IdentityModel.Selectors.UntrustedRecipientException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IdentityModel.Selectors.UntrustedRecipientException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The SerializationInfo object that contains the serialized object data about the exception being thrown.

context
StreamingContext StreamingContext StreamingContext StreamingContext

The StreamingContext object that contains contextual information about the source or destination.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

UntrustedRecipientException(String, Exception) UntrustedRecipientException(String, Exception) UntrustedRecipientException(String, Exception) UntrustedRecipientException(String, Exception)

Initializes an instance of the UntrustedRecipientException class with the specified error message and a reference to the inner exception that is the cause of this exception.

public:
 UntrustedRecipientException(System::String ^ message, Exception ^ innerException);
public UntrustedRecipientException (string message, Exception innerException);
new System.IdentityModel.Selectors.UntrustedRecipientException : string * Exception -> System.IdentityModel.Selectors.UntrustedRecipientException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String String String String

The message that describes the error.

innerException
Exception Exception Exception Exception

The exception that is the cause of the current exception.

Remarks

An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the InnerException property. The InnerException property returns the same value that is passed into the constructor, or null if the InnerException property does not supply the inner exception value to the constructor.

Applies to