Click or drag to resize
OssException Class
该异常在对开放存储服务(Open Storage Service)访问失败时抛出。
Inheritance Hierarchy

Namespace: Aliyun.OpenServices.OpenStorageService
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 1.0.5492.31618
Syntax
[SerializableAttribute]
public class OssException : ServiceException

The OssException type exposes the following members.

Constructors
  NameDescription
Public methodOssException
初始化新的OssException实例。
Public methodOssException(String)
初始化新的OssException实例。
Protected methodOssException(SerializationInfo, StreamingContext)
初始化新的OssException实例。
Public methodOssException(String, Exception)
初始化新的OssException实例。
Top
Methods
Properties
  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyErrorCode
获取错误代码。
(Inherited from ServiceException.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHostId
获取Host ID。
(Inherited from ServiceException.)
Protected propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertyRequestId
获取Request ID。
(Inherited from ServiceException.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top
Events
  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top
See Also