C# Class NetMQ.Core.ErrorHelper

Class ErrorHelper provides one static method - ToErrorCode, for converting a SocketError to the equivalent ErrorCode.
Mostrar archivo Open project: zeromq/netmq

Public Methods

Method Description
ToErrorCode ( this error ) : ErrorCode

Return the ErrorCode that is the closest equivalent to the given SocketError.

Method Details

ToErrorCode() public static method

Return the ErrorCode that is the closest equivalent to the given SocketError.
public static ToErrorCode ( this error ) : ErrorCode
error this the SocketError to convert from
return ErrorCode