Class MemoryPermissionException
An exception thrown when VirtualProtect fails.
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Dalamud.Memory.Exceptions
Assembly: Dalamud.dll
Syntax
public class MemoryPermissionException : MemoryException, ISerializable
Constructors
| Improve this Doc View SourceMemoryPermissionException()
Initializes a new instance of the MemoryPermissionException class.
Declaration
public MemoryPermissionException()
MemoryPermissionException(SerializationInfo, StreamingContext)
Initializes a new instance of the MemoryPermissionException class.
Declaration
protected MemoryPermissionException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | The object that holds the serialized data about the exception being thrown. |
| System.Runtime.Serialization.StreamingContext | context | The object that contains contextual information about the source or destination. |
MemoryPermissionException(String)
Initializes a new instance of the MemoryPermissionException class.
Declaration
public MemoryPermissionException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The message that describes the error. |
MemoryPermissionException(String, Exception)
Initializes a new instance of the MemoryPermissionException class.
Declaration
public MemoryPermissionException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The error message that explains the reason for the exception. |
| System.Exception | innerException | The exception that is the cause of the current exception. |
Implements
System.Runtime.Serialization.ISerializable