none
FileSavePicker 为什么有时候就打不开了 RRS feed

  • 问题

  • FileSavePicker 为什么有时候就打不开了

    Throw:

    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    A first chance exception of type 'System.InvalidCastException' occurred in mscorlib.dll
    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    A first chance exception of type 'System.InvalidCastException' occurred in mscorlib.dll
    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    A first chance exception of type 'System.InvalidCastException' occurred in mscorlib.dll
    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    A first chance exception of type 'System.InvalidCastException' occurred in mscorlib.dll
    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    A first chance exception of type 'System.InvalidCastException' occurred in mscorlib.dll
    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    A first chance exception of type 'System.InvalidCastException' occurred in mscorlib.dll
    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    A first chance exception of type 'System.InvalidCastException' occurred in mscorlib.dll
    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    A first chance exception of type 'System.InvalidCastException' occurred in mscorlib.dll
    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    A first chance exception of type 'System.InvalidCastException' occurred in mscorlib.dll
    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    A first chance exception of type 'System.InvalidCastException' occurred in mscorlib.dll
    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    A first chance exception of type 'System.InvalidCastException' occurred in mscorlib.dll
    A first chance exception of type 'System.FormatException' occurred in mscorlib.dll
    A first chance exception of type 'System.InvalidCastException' occurred in mscorlib.dll

    2014年9月9日 9:35

答案

  • 你好 AndyLiu,

    First chance exception通常跟代码没有直接关系,一般是系统,环境的原因造成的。不过你能把你FileSavePicker的那段代码贴给我看看么?看错误信息很有可能是传的参数不对。

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    2014年9月10日 5:36
    版主