共用方式為


IVsAsyncSaveResult Interface

Definition

The result of an asynchronous save operation. This is the value returned from the GetResult method on the asynchronous save's returned IVsTask.

[System.Runtime.InteropServices.Guid("72903eda-bbb2-453d-88df-239a8c018122")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsAsyncSaveResult
[<System.Runtime.InteropServices.Guid("72903eda-bbb2-453d-88df-239a8c018122")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsAsyncSaveResult = interface
Public Interface IVsAsyncSaveResult
Derived
Attributes

Remarks

This interface is safe to access from any thread.

Properties

DataLossIncurred

This is set to true if the save was successful but there was data loss.

FileName

The name of the saved file. This can be null or empty if the name of the saved file did not change.

SaveCanceled

This is set to true if the user canceled the save operation.

Applies to