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.StringThe XAML string representation of a dictionary
errors
Type: System.Collections.Generic.IList<ProcessParameterError>%A collection of errors encountered when you load parameters
Return Value
Type: System.Collections.Generic.IDictionary<String, Object>
The process parameters deserialized into a dictionary
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.