Dela via


EventFileIOException Class

Represents the exception that is thrown when an I/O error occurs reading a file.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SqlServer.XEvent.Linq.XEventException
      Microsoft.SqlServer.XEvent.Linq.EventFileIOException

Namespace:  Microsoft.SqlServer.XEvent.Linq
Assembly:  Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class EventFileIOException _
    Inherits XEventException
'Usage
Dim instance As EventFileIOException
[SerializableAttribute]
public class EventFileIOException : XEventException
[SerializableAttribute]
public ref class EventFileIOException : public XEventException
[<SerializableAttribute>]
type EventFileIOException =  
    class 
        inherit XEventException 
    end
public class EventFileIOException extends XEventException

The EventFileIOException type exposes the following members.

Constructors

  Name Description
Public method EventFileIOException() Initializes a new instance of the EventFileIOException class using default values.
Public method EventFileIOException(String) Initializes a new instance of the EventFileIOException class with specified exception message
Protected method EventFileIOException(SerializationInfo, StreamingContext) Initializes a new instance of the EventFileIOException class with specified information and context.
Public method EventFileIOException(String, Exception) Initializes a new instance of the EventFileIOException class with specified error message and a reference to the inner exception that is the cause of this exception.
Public method EventFileIOException(String, Int32) Initializes a new instance of the EventFileIOException class with specified error message and error number.
Public method EventFileIOException(String, Int32, String) Initializes a new instance of the EventFileIOException class with a specified error message and an error number and the filename it refers to.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorNumber Gets or sets the error number the operating system reported.
Public property FileName Gets or sets the name of the file the exception refers to.
Public property HelpLink (Inherited from Exception.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.XEvent.Linq Namespace