共用方式為


WorkflowHelpers.SerializeProcessParameters Method (IDictionary<String, Object>, IEnumerable<String>)

Serializes the parameter values dictionary into XAML (adding raw xml for incorrect parameters to preserve their values)

Namespace:  Microsoft.TeamFoundation.Build.Workflow
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
Public Shared Function SerializeProcessParameters ( _
    parameterValues As IDictionary(Of String, Object), _
    rawXml As IEnumerable(Of String) _
) As String
public static string SerializeProcessParameters(
    IDictionary<string, Object> parameterValues,
    IEnumerable<string> rawXml
)
public:
static String^ SerializeProcessParameters(
    IDictionary<String^, Object^>^ parameterValues, 
    IEnumerable<String^>^ rawXml
)
static member SerializeProcessParameters : 
        parameterValues:IDictionary<string, Object> * 
        rawXml:IEnumerable<string> -> string
public static function SerializeProcessParameters(
    parameterValues : IDictionary<String, Object>, 
    rawXml : IEnumerable<String>
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

WorkflowHelpers Class

SerializeProcessParameters Overload

Microsoft.TeamFoundation.Build.Workflow Namespace