NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2310

catch handlers must specify one type

A catch handler specified no type or multiple types.

Example

#include <eh.h>   
int main()
{
    try
    {
        throw "Out of memory!";
    }
    catch( int ,int)  // error, two types
    {
    }
    return 0;
}