Compartir a través de


WorkflowHelpers.DeserializeProcessParameters Method (String, IList<ProcessParameterError>%)

Deserializes the parameter values from a XAML serialized dictionary. Parameters of unknown types and non-existent members are ignored when you load the dictionary and specific errors are populated into the errors collection.

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

Syntax

'Declaration
Public Shared Function DeserializeProcessParameters ( _
    parameterValues As String, _
    <OutAttribute> ByRef errors As IList(Of ProcessParameterError) _
) As IDictionary(Of String, Object)
public static IDictionary<string, Object> DeserializeProcessParameters(
    string parameterValues,
    out IList<ProcessParameterError> errors
)
public:
static IDictionary<String^, Object^>^ DeserializeProcessParameters(
    String^ parameterValues, 
    [OutAttribute] IList<ProcessParameterError^>^% errors
)
static member DeserializeProcessParameters : 
        parameterValues:string * 
        errors:IList<ProcessParameterError> byref -> IDictionary<string, Object> 
public static function DeserializeProcessParameters(
    parameterValues : String, 
    errors : IList<ProcessParameterError>
) : IDictionary<String, Object>

Parameters

  • parameterValues
    Type: System.String

    The XAML string representation of a dictionary

Return Value

Type: System.Collections.Generic.IDictionary<String, Object>
The process parameters deserialized into a dictionary

.NET Framework Security

See Also

Reference

WorkflowHelpers Class

DeserializeProcessParameters Overload

Microsoft.TeamFoundation.Build.Workflow Namespace