Udostępnij za pośrednictwem


DownloadedFile Class

 

Represents a file downloaded from, or inheriting, ConfigMgrDownloadRequest.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Messages.DownloadedFile

Syntax

[SerializableAttribute]
public sealed class DownloadedFile
[SerializableAttribute]
public ref class DownloadedFile sealed 
<SerializableAttribute>
Public NotInheritable Class DownloadedFile

Constructors

Name Description
System_CAPS_pubmethod DownloadedFile()

Initializes a new instance of the DownloadedFile class. This is only for serialization; do not use.

Properties

Name Description
System_CAPS_pubproperty DownloadedSuccessfully

If true, the file was downloaded successfully and exists locally. If false, the file did not download successfully and probably does not exist locally.

System_CAPS_pubproperty FileDownloadMethod

Gets the method that was used to download the file.

System_CAPS_pubproperty LocalPathToFile

Gets the local path to the downloaded file.

System_CAPS_pubproperty RemotePathToFile

Gets the remote path to the downloaded file.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top