System.IO.FileNotFoundException.FileNotFoundException C# (CSharp) Méthode

FileNotFoundException() protected méthode

protected FileNotFoundException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat System
        protected FileNotFoundException(SerializationInfo info, StreamingContext context) : base (info, context) {
            // Base class constructor will check info != null.

            _fileName = info.GetString("FileNotFound_FileName");
            try
            {
                _fusionLog = info.GetString("FileNotFound_FusionLog");
            }
            catch 
            {
                _fusionLog = null;
            }
            
        }

Same methods

FileNotFoundException::FileNotFoundException ( ) : System
FileNotFoundException::FileNotFoundException ( String message ) : System
FileNotFoundException::FileNotFoundException ( String message, Exception innerException ) : System
FileNotFoundException::FileNotFoundException ( String message, String fileName ) : System
FileNotFoundException::FileNotFoundException ( String message, String fileName, Exception innerException ) : System
FileNotFoundException::FileNotFoundException ( String fileName, String fusionLog, int hResult ) : System