BitsHelper.CreateBitsJob Method (IMessage, BitsJobType, EventHandler<BitsJobEventArgs>, BitsFileInfo[])

 

Creates a BITS job from an existing message. The job will not start until Resume is called.

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

Syntax

public static BitsJob CreateBitsJob(
    IMessage message,
    BitsJobType jobType,
    EventHandler<BitsJobEventArgs> jobEventHandler,
    params BitsFileInfo[] filesToTransfer
)
public:
static BitsJob^ CreateBitsJob(
    IMessage^ message,
    BitsJobType jobType,
    EventHandler<BitsJobEventArgs^>^ jobEventHandler,
    ... array<BitsFileInfo>^ filesToTransfer
)
Public Shared Function CreateBitsJob (
    message As IMessage,
    jobType As BitsJobType,
    jobEventHandler As EventHandler(Of BitsJobEventArgs),
    ParamArray filesToTransfer As BitsFileInfo()
) As BitsJob

Parameters

Return Value

Type: Microsoft.ConfigurationManagement.Messaging.Framework.BitsJob

See Also

BitsHelper Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top