SecurityAccessDeniedException 构造函数

定义

初始化 SecurityAccessDeniedException 类的新实例。

重载

SecurityAccessDeniedException()

初始化 SecurityAccessDeniedException 类的新实例。

SecurityAccessDeniedException(String)

使用指定的消息初始化 SecurityAccessDeniedException 类的新实例。

SecurityAccessDeniedException(SerializationInfo, StreamingContext)

使用指定的序列化信息和上下文对象初始化 SecurityAccessDeniedException 类的新实例。

SecurityAccessDeniedException(String, Exception)

使用指定的消息和内部异常初始化 SecurityAccessDeniedException 类的新实例。

SecurityAccessDeniedException()

初始化 SecurityAccessDeniedException 类的新实例。

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

适用于

SecurityAccessDeniedException(String)

Source:
SecurityAccessDeniedException.cs
Source:
SecurityAccessDeniedException.cs
Source:
SecurityAccessDeniedException.cs

使用指定的消息初始化 SecurityAccessDeniedException 类的新实例。

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)

参数

message
String

错误条件的说明。

适用于

SecurityAccessDeniedException(SerializationInfo, StreamingContext)

Source:
SecurityAccessDeniedException.cs
Source:
SecurityAccessDeniedException.cs
Source:
SecurityAccessDeniedException.cs

使用指定的序列化信息和上下文对象初始化 SecurityAccessDeniedException 类的新实例。

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)

参数

info
SerializationInfo

与反序列化进程相关的信息。

context
StreamingContext

反序列化进程的上下文。

适用于

SecurityAccessDeniedException(String, Exception)

Source:
SecurityAccessDeniedException.cs
Source:
SecurityAccessDeniedException.cs
Source:
SecurityAccessDeniedException.cs

使用指定的消息和内部异常初始化 SecurityAccessDeniedException 类的新实例。

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)

参数

message
String

错误条件的说明。

innerException
Exception

要使用的内部异常。

适用于