ActivationContext<T>.SetParameter(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Sets the value of the parameter specified by name.
public:
virtual void SetParameter(System::String ^ name, System::Object ^ value);
public virtual void SetParameter (string name, object value);
abstract member SetParameter : string * obj -> unit
override this.SetParameter : string * obj -> unit
Public Overridable Sub SetParameter (name As String, value As Object)
Parameters
- name
- String
The name of the parameter.
- value
- Object
The type to set the parameter to.
Exceptions
The name
parameter is a null reference (Nothing in Visual Basic) or empty.