| Framework1ExternalPreviewException Class |
Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.IntegrationApi
| Name | Description | |
|---|---|---|
| Framework1ExternalPreviewException |
Create without message - default usage
| |
| Framework1ExternalPreviewException(String) |
Create with an explicit message.
| |
| Framework1ExternalPreviewException(SerializationInfo, StreamingContext) |
Protected constructor used for de-serialization.
| |
| Framework1ExternalPreviewException(String, Exception) |
Create with a message and related exception.
|
Explicitly handling this exception allows a preview host application to be notified that the preview has been successfully generated, but should be treated as a "fire and forget" preview. The preview files typically are not the file names that are passed to the writer, and they will be automatically deleted when the external preview application is closed by the user.
Note that throwing an exception here is rather a hack, however for the moment no a better way of handling this situation is available.