SecurityNegotiationException Constructors
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 the SecurityNegotiationException class.
Overloads
SecurityNegotiationException() |
Initializes a new instance of the SecurityNegotiationException class. |
SecurityNegotiationException(String) |
Initializes a new instance of the SecurityNegotiationException class with a specified error message. |
SecurityNegotiationException(SerializationInfo, StreamingContext) |
Initializes a new instance of the SecurityNegotiationException class with serialization information and streaming context specified. |
SecurityNegotiationException(String, Exception) |
Initializes a new instance of the SecurityNegotiationException class with serialization information and inner exception specified. |
SecurityNegotiationException()
Initializes a new instance of the SecurityNegotiationException class.
public:
SecurityNegotiationException();
public SecurityNegotiationException ();
Public Sub New ()
Applies to
SecurityNegotiationException(String)
Initializes a new instance of the SecurityNegotiationException class with a specified error message.
public:
SecurityNegotiationException(System::String ^ message);
public SecurityNegotiationException (string message);
new System.ServiceModel.Security.SecurityNegotiationException : string -> System.ServiceModel.Security.SecurityNegotiationException
Public Sub New (message As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
SecurityNegotiationException(SerializationInfo, StreamingContext)
Initializes a new instance of the SecurityNegotiationException class with serialization information and streaming context specified.
protected:
SecurityNegotiationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SecurityNegotiationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.Security.SecurityNegotiationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Security.SecurityNegotiationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo that contains all the data required to serialize the exception.
- context
- StreamingContext
The StreamingContext that specifies the source and destination of the stream.
Applies to
SecurityNegotiationException(String, Exception)
Initializes a new instance of the SecurityNegotiationException class with serialization information and inner exception specified.
public:
SecurityNegotiationException(System::String ^ message, Exception ^ innerException);
public SecurityNegotiationException (string message, Exception innerException);
new System.ServiceModel.Security.SecurityNegotiationException : string * Exception -> System.ServiceModel.Security.SecurityNegotiationException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
.NET