ErrorCode

ActiveSyncNotSupportedException.ErrorCode property

返回错误代码。

public int ErrorCode { get; }

也可以看看