Exposes methods that work with client applications to present a user environment that provides safe download and exchange of files through email and messaging attachments.
The IAttachmentExecute interface has these methods.
|IAttachmentExecute::CheckPolicy||Provides a Boolean test that can be used to make decisions based on the attachment's execution policy.|
|IAttachmentExecute::ClearClientState||Removes any stored state that is based on the client's GUID. An example might be a setting based on a checked box that indicates a prompt should not be displayed again for a particular file type.|
|IAttachmentExecute::Execute||Executes an action on an attachment.|
|IAttachmentExecute::Prompt||Presents a prompt UI to the user.|
|IAttachmentExecute::Save||Saves the attachment.|
|IAttachmentExecute::SaveWithUI||Presents the user with explanatory error UI if the save action fails.|
|IAttachmentExecute::SetClientGuid||Specifies and stores the GUID for the client.|
|IAttachmentExecute::SetClientTitle||Specifies and stores the title of the prompt window.|
|IAttachmentExecute::SetFileName||Specifies and stores the proposed name of the file.|
|IAttachmentExecute::SetLocalPath||Sets and stores the path to the file.|
|IAttachmentExecute::SetReferrer||Sets the security zone associated with the attachment file based on the referring file.|
|IAttachmentExecute::SetSource||Sets an alternate path or URL for the source of a file transfer.|
This interface assumes the following:
- The client has policies or settings for attachment support and behavior.
- The client interacts with the user.
Here is an example of how an email client might use IAttachmentExecute.
// CClientAttachmentInfo, defined by the client, implements all the // necessary client functionality concerning attachments. class CClientAttachmentInfo;
|Minimum supported client||Windows XP with SP2 [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|