Request

Response

    IElement.CreateInstanceParameterAsync method

    This method is used to create an instance parameter.

    public Task<IParameter> CreateInstanceParameterAsync(IParameter parameterDefinition)
    
    parameterdescription
    parameterDefinition The definition of the parameter to create.

    Return Value

    The created instance parameter.

    Exceptions

    exceptioncondition
    ArgumentNullException Thrown when parameterDefinition is null.
    ArgumentException Thrown when a custom parameter with the same name already exists on the element.

    See Also