HttpListenerException.ErrorCode Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that identifies the error that occurred.
public:
 virtual property int ErrorCode { int get(); };public override int ErrorCode { get; }member this.ErrorCode : intPublic Overrides ReadOnly Property ErrorCode As IntegerProperty Value
A Int32 value.
Remarks
This property returns the Windows error code associated with this exception.