Name
FileNotFoundException
Synopsis
This exception is thrown when you attempt to access a file that does not exist.
Public Class FileNotFoundException : Inherits IOException ' Public Constructors Public Sub New() Public Sub New( ByVal message As String) Public Sub New(ByVal message As String, ByVal innerException As Exception) Public Sub New(ByVal message As String, ByVal fileName As String) Public Sub New(ByVal message As String, ByVal fileName As String, ByVal innerException As Exception) ' Protected Constructors Protected Sub New( ByVal info As System.Runtime.Serialization.SerializationInfo, ByVal context As System.Runtime.Serialization.StreamingContext) ' Public Instance Properties Public ReadOnly Property FileName As String Public ReadOnly Property FusionLog As String Overrides Public ReadOnly Property Message As String ' Public Instance Methods Overrides Public Sub GetObjectData( ByVal info As System.Runtime.Serialization.SerializationInfo, ByVal context As System.Runtime.Serialization.StreamingContext) Overrides Public Function ToString() As String End Class
Hierarchy
System.Object→System.Exception(System.Runtime.Serialization.ISerializable)→System.SystemException→IOException→ FileNotFoundException
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.