共用方式為


Performance and Diagnostics in the .NET Compact Framework

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The .NET Compact Framework provides performance counters that can be activated by a registry setting to generate a log file of performance statistics.

You can also log the interop marshaling of native and managed types. For information about generating a log file, see the section "Interop Logging" in Marshaling Overview.

You can also release cached resources by using the MobileDevice class. This class includes the Hibernate event, which provides an opportunity to reduce resource usage.

In This Section

See Also

Other Resources

Application Development in the .NET Compact Framework