แก้ไข

แชร์ผ่าน


SecurityAccessDeniedException Constructors

Definition

Initializes a new instance of the SecurityAccessDeniedException class.

Overloads

SecurityAccessDeniedException()

Initializes a new instance of the SecurityAccessDeniedException class.

SecurityAccessDeniedException(String)

Initializes a new instance of the SecurityAccessDeniedException class using the specified message.

SecurityAccessDeniedException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityAccessDeniedException class using the specified serialization information and context objects.

SecurityAccessDeniedException(String, Exception)

Initializes a new instance of the SecurityAccessDeniedException class using the specified message and the inner exception.

SecurityAccessDeniedException()

Initializes a new instance of the SecurityAccessDeniedException class.

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

Applies to

SecurityAccessDeniedException(String)

Source:
SecurityAccessDeniedException.cs
Source:
SecurityAccessDeniedException.cs

Initializes a new instance of the SecurityAccessDeniedException class using the specified message.

public:
 SecurityAccessDeniedException(System::String ^ message);
public SecurityAccessDeniedException (string message);
new System.ServiceModel.Security.SecurityAccessDeniedException : string -> System.ServiceModel.Security.SecurityAccessDeniedException
Public Sub New (message As String)

Parameters

message
String

The description of the error condition.

Applies to

SecurityAccessDeniedException(SerializationInfo, StreamingContext)

Source:
SecurityAccessDeniedException.cs
Source:
SecurityAccessDeniedException.cs

Initializes a new instance of the SecurityAccessDeniedException class using the specified serialization information and context objects.

protected:
 SecurityAccessDeniedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SecurityAccessDeniedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.Security.SecurityAccessDeniedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Security.SecurityAccessDeniedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Information relevant to the deserialization process.

context
StreamingContext

The context of the deserialization process.

Applies to

SecurityAccessDeniedException(String, Exception)

Source:
SecurityAccessDeniedException.cs
Source:
SecurityAccessDeniedException.cs

Initializes a new instance of the SecurityAccessDeniedException class using the specified message and the inner exception.

public:
 SecurityAccessDeniedException(System::String ^ message, Exception ^ innerException);
public SecurityAccessDeniedException (string message, Exception innerException);
new System.ServiceModel.Security.SecurityAccessDeniedException : string * Exception -> System.ServiceModel.Security.SecurityAccessDeniedException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The description of the error condition.

innerException
Exception

The inner exception to be used.

Applies to