IBackgroundTransferContentPartFactory IBackgroundTransferContentPartFactory IBackgroundTransferContentPartFactory Interface

Definition

public interface IBackgroundTransferContentPartFactorypublic interface IBackgroundTransferContentPartFactoryPublic Interface IBackgroundTransferContentPartFactory
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

CreateWithName(String) CreateWithName(String) CreateWithName(String)

Creates a BackgroundTransferContentPart object that indicates the specified content type.

public BackgroundTransferContentPart CreateWithName(String name)public BackgroundTransferContentPart CreateWithName(String name)Public Function CreateWithName(name As String) As BackgroundTransferContentPart
Parameters
name
System.String System.String System.String

Identifies the content type.

Returns
Attributes

CreateWithNameAndFileName(String, String) CreateWithNameAndFileName(String, String) CreateWithNameAndFileName(String, String)

Creates a BackgroundTransferContentPart object that identifies the content type and name of the file.

public BackgroundTransferContentPart CreateWithNameAndFileName(String name, String fileName)public BackgroundTransferContentPart CreateWithNameAndFileName(String name, String fileName)Public Function CreateWithNameAndFileName(name As String, fileName As String) As BackgroundTransferContentPart
Parameters
name
System.String System.String System.String

Identifies the content type.

fileName
System.String System.String System.String

The fully qualified file name; this includes the local path.

Returns
Attributes