OSException 构造函数

Creates a new instance of the OSException class.

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法 OSException() () () () Creates a new instance of the OSException class.
公共方法 OSException(String) Creates a new instance of the OSException class with a specified error message.
受保护方法 OSException(SerializationInfo, StreamingContext) Creates a new instance of the OSException class with serialized data.
公共方法 OSException(String, Exception) Creates a new instance of the OSException class with a specified error message and a reference to the inner exception that is the cause of this exception.

页首