Property Code NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll Code Gets the error code. public int Code { get; } Property Value int The error code.