• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Constructor SecurityException

SecurityException()

Default constructor.

Declaration
public SecurityException()

SecurityException(String)

Overloaded constructor, takes the reason as parameter.

Declaration
public SecurityException(string reason)
Parameters
Type Name Description
System.String reason

SecurityException(String, Exception)

Overloaded constructor.

Declaration
public SecurityException(string reason, Exception inner)
Parameters
Type Name Description
System.String reason

Reason for exception

System.Exception inner

Nested exception

SecurityException(Int32)

Overloaded constructor

Declaration
public SecurityException(int errorCode)
Parameters
Type Name Description
System.Int32 errorCode

Assigned errorcode

SecurityException(Int32, String)

Overloaded constructor

Declaration
public SecurityException(int errorCode, string reason)
Parameters
Type Name Description
System.Int32 errorCode

Assigned errorcode

System.String reason

exception message

SecurityException(Int32, String, String)

Overloaded Constructor

Declaration
public SecurityException(int errorCode, string reason, string stackTrace)
Parameters
Type Name Description
System.Int32 errorCode

Assigned errorcode

System.String reason

exception message

System.String stackTrace

stacktrace

SecurityException(Int32, String, Exception)

Overloaded Constructor

Declaration
public SecurityException(int errorCode, string reason, Exception inner)
Parameters
Type Name Description
System.Int32 errorCode

Assigned ErrorCode

System.String reason

exception message

System.Exception inner

nested exception

SecurityException(SerializationInfo, StreamingContext)

Overloaded constructor, manual serialization.

Declaration
protected SecurityException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context
Back to top Copyright © 2017 Alachisoft