PeerToPeerException PeerToPeerException PeerToPeerException PeerToPeerException Constructors

Definition

Overloads

PeerToPeerException() PeerToPeerException() PeerToPeerException()

Initializes a new default instance of the PeerToPeerException class.

PeerToPeerException(String) PeerToPeerException(String) PeerToPeerException(String) PeerToPeerException(String)

Initializes a new instance of the PeerToPeerException class with the supplied message string.

PeerToPeerException(SerializationInfo, StreamingContext) PeerToPeerException(SerializationInfo, StreamingContext) PeerToPeerException(SerializationInfo, StreamingContext) PeerToPeerException(SerializationInfo, StreamingContext)

Initializes a new instance of the PeerToPeerException class with serialized data.

PeerToPeerException(String, Exception) PeerToPeerException(String, Exception) PeerToPeerException(String, Exception) PeerToPeerException(String, Exception)

Initializes a new instance of the PeerToPeerException class with the supplied message string and exception.

PeerToPeerException() PeerToPeerException() PeerToPeerException()

Initializes a new default instance of the PeerToPeerException class.

public:
 PeerToPeerException();
public PeerToPeerException ();
Public Sub New ()
See also

PeerToPeerException(String) PeerToPeerException(String) PeerToPeerException(String) PeerToPeerException(String)

Initializes a new instance of the PeerToPeerException class with the supplied message string.

public:
 PeerToPeerException(System::String ^ message);
public PeerToPeerException (string message);
new System.Net.PeerToPeer.PeerToPeerException : string -> System.Net.PeerToPeer.PeerToPeerException
Public Sub New (message As String)

Parameters

message
String String String String

The error message that provides the reason for the exception.

See also

PeerToPeerException(SerializationInfo, StreamingContext) PeerToPeerException(SerializationInfo, StreamingContext) PeerToPeerException(SerializationInfo, StreamingContext) PeerToPeerException(SerializationInfo, StreamingContext)

Initializes a new instance of the PeerToPeerException class with serialized data.

protected:
 PeerToPeerException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PeerToPeerException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Net.PeerToPeer.PeerToPeerException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.PeerToPeer.PeerToPeerException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

Reference to the object that holds the data needed to deserialize the object.

context
StreamingContext StreamingContext StreamingContext StreamingContext

Context that provides the means for deserializing the PeerToPeerException data. Also referred to as the source of the serialized data.

See also

PeerToPeerException(String, Exception) PeerToPeerException(String, Exception) PeerToPeerException(String, Exception) PeerToPeerException(String, Exception)

Initializes a new instance of the PeerToPeerException class with the supplied message string and exception.

public:
 PeerToPeerException(System::String ^ message, Exception ^ innerException);
public PeerToPeerException (string message, Exception innerException);
new System.Net.PeerToPeer.PeerToPeerException : string * Exception -> System.Net.PeerToPeer.PeerToPeerException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String String String String

The error message that explains the reason for the PeerToPeerException.

innerException
Exception Exception Exception Exception

The exception instance that caused the current Exception.

See also

Applies to