Share via


IOException.ErrorCode Property

The error code associated with this IOException object.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public int ErrorCode { get; }

Property Value

The error code.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.

See Also

Reference

IOException Class
IOException Members
System.IO Namespace