WorkflowDeploymentService.SaveCollateral method

Saves the collateral file of a workflow definition.

Namespace:  Microsoft.SharePoint.WorkflowServices
Assembly:  Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)

Syntax

'Declaration
<ClientCallableMethodAttribute> _
Public MustOverride Sub SaveCollateral ( _
    workflowDefinitionId As Guid, _
    leafFileName As String, _
    fileContent As Stream _
)
'Usage
Dim instance As WorkflowDeploymentService
Dim workflowDefinitionId As Guid
Dim leafFileName As String
Dim fileContent As Stream

instance.SaveCollateral(workflowDefinitionId, _
    leafFileName, fileContent)
[ClientCallableMethodAttribute]
public abstract void SaveCollateral(
    Guid workflowDefinitionId,
    string leafFileName,
    Stream fileContent
)

Parameters

  • workflowDefinitionId
    Type: System.Guid

    The guid identifier of the workflow definition.

  • leafFileName
    Type: System.String

    The leaf name of the collateral file.

  • fileContent
    Type: System.IO.Stream

    The contents of the collateral file as a stream object.

See also

Reference

WorkflowDeploymentService class

WorkflowDeploymentService members

Microsoft.SharePoint.WorkflowServices namespace