Share via


DeploymentBaseContext.SetState(String, Object) Method

Definition

Sets a value in the internal state table.

public:
 void SetState(System::String ^ name, System::Object ^ state);
public void SetState (string name, object state);
member this.SetState : string * obj -> unit
Public Sub SetState (name As String, state As Object)

Parameters

name
String

The key name of the value to set in the state table.

state
Object

The value to set in the state table.

Applies to