DownloadImageOperation class
An object passed to an online media extensibility background agent to trigger the agent to retrieve the binary image data for an OnlinePicture.
Syntax
public sealed class DownloadImageOperation : ISocialOperation
Public NotInheritable Class DownloadImageOperation
Implements ISocialOperation
public ref class DownloadImageOperation sealed : ISocialOperation
Members
The DownloadImageOperation class has these types of members:
- Methods
- Properties
Methods
The DownloadImageOperation class has these methods. It also inherits methods from the Object class.
Method | Description |
---|---|
NotifyCompletion | Notifies the system that the operation is complete. |
NotifyCompletion(Boolean) | Notifies the system that the operation is complete. |
Properties
The DownloadImageOperation class has these properties.
Property | Access type | Description |
---|---|---|
DesiredImageType |
Read-only |
Gets a value indicating the type of image for which binary image data is being requested. It could be a small thumbnail, large thumbnail, or the full-sized image. |
DesiredResolution |
Read-only |
Gets a value indicating the desired resolution of the binary image data being requested. |
Id |
Read-only |
Gets the Id of the photo for which image data is being requested. |
PhotoId |
Read-only |
Gets the RemoteId of the photo for which image data is being requested. |
Type |
Read-only |
Gets the type of the operation. |
Remarks
This operation is only invoked for an OnlinePictureAlbum that was created with the RequiresAuthentication property set to true. If , RequiresAuthentication is set to false, the system will download the binary image data from the address provided in one of the Uri properties of the image.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
None supported |
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only] |
Namespace |
Windows.Phone.SocialInformation Windows::Phone::SocialInformation [C++] |
Metadata |
Windows.WinMD |
Attributes
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]
See also
ISocialOperation