FederationMessage.SetUriParameter(String, String) Método

Definição

Define o valor de um parâmetro do dicionário de parâmetros.Sets the value of a parameter in the parameters dictionary. O valor deve ser um URI absoluto.The value must be an absolute URI.

public:
 void SetUriParameter(System::String ^ parameter, System::String ^ value);
public void SetUriParameter (string parameter, string value);
member this.SetUriParameter : string * string -> unit
Public Sub SetUriParameter (parameter As String, value As String)

Parâmetros

parameter
String

O nome do parâmetro.The parameter name.

value
String

O valor do parâmetro.The parameter value.

Exceções

parameter é null.parameter is null.

- ou --or- value é null ou não é um URI absoluto.value is null or not an absolute URI.

Comentários

Se o parâmetro não existir no dicionário, ele será adicionado.If the parameter does not exist in the dictionary, it is added. O dicionário de parâmetros é acessado por meio da Parameters propriedade.The parameters dictionary is accessed through the Parameters property.

Aplica-se a