Udostępnij za pośrednictwem


OSException Class

Definition

The exception that is thrown when an error is raised by the operating system during a File Compression Interface (FCI) operation.

public ref class OSException : Microsoft::SqlServer::Replication::ReplicationAgentException
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public class OSException : Microsoft.SqlServer.Replication.ReplicationAgentException
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type OSException = class
    inherit ReplicationAgentException
Public Class OSException
Inherits ReplicationAgentException
Inheritance
Attributes

Constructors

OSException()

Creates a new instance of the OSException class.

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.

OSException(String)

Creates a new instance of the OSException class with a specified error message.

Properties

MessageCode

Gets the error code of the underlying error.

(Inherited from ReplicationAgentException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the specified SerializationInfo with information about the exception.

(Inherited from ReplicationAgentException)

Applies to