123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
-
- using System;
- using System.Runtime.Serialization;
- using System.Security.Permissions;
- namespace Aliyun.OSS.Common
- {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [Serializable]
- public class ServiceException : Exception
- {
-
-
-
- public virtual string ErrorCode { get; internal set; }
-
-
-
- public virtual string RequestId { get; internal set; }
-
-
-
- public virtual string HostId { get; internal set; }
-
-
-
-
- public ServiceException()
- { }
-
-
-
-
- public ServiceException(string message)
- : base(message)
- { }
-
-
-
-
-
- public ServiceException(string message, Exception innerException)
- : base(message, innerException)
- { }
-
-
-
-
-
- protected ServiceException(SerializationInfo info, StreamingContext context)
- : base(info, context)
- { }
-
-
-
-
-
- [SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.SerializationFormatter)]
- public override void GetObjectData(SerializationInfo info, StreamingContext context)
- {
- base.GetObjectData(info, context);
- }
- }
- }
|