2using System.Collections.Generic;
4#if !(ANDROID || IOS) && !NETFX_CORE
5using System.Security.Permissions;
8using System.Threading.Tasks;
38 : base(message, innerException)
41#if !(ANDROID || IOS) && !NETFX_CORE
47 protected SecurityException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
57 [System.Diagnostics.CodeAnalysis.SuppressMessage(
"Microsoft.Design",
"CA1062:ValidateArgumentsOfPublicMethods")]
59 [SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
60 [SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)]
62 public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
64 base.GetObjectData(info, context);
SecurityException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
Creates an instance of the object for serialization.
override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
Serializes the object.
SecurityException()
Creates an instance of the type.
SecurityException(string message, Exception innerException)
Creates an instance of the type.
SecurityException(string message)
Creates an instance of the type.
@ Serializable
Prevents updating or inserting until the transaction is complete.