Initializes the specified command with values deserialized from the specified state, which
was obtained by a previous call to Serialize(EndecaCommand, CommandSerializationContext).
Namespace:
Endeca.DataAssembly: Endeca.Data (in Endeca.Data.dll) Version: 2.1.3.0 (2.1.3.622)
Syntax
| C# |
|---|
public void Deserialize( string commandState, EndecaCommand command, CommandSerializationContext context ) |
| Visual Basic (Declaration) |
|---|
Public Sub Deserialize ( _ commandState As String, _ command As EndecaCommand, _ context As CommandSerializationContext _ ) |
| Visual C++ |
|---|
public: void Deserialize( String^ commandState, EndecaCommand^ command, CommandSerializationContext^ context ) |
Parameters
- commandState
- Type: System..::.String
State to deserialize.
- command
- Type: Endeca.Data.Provider..::.EndecaCommand
Command to initialize.
- context
- Type: Endeca.Data..::.CommandSerializationContext
Provides additional contextual information for use during deserialization.
Remarks
If the commandState is null or empty, no deserialization will be attempted.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | if command is null. |