Serializes the specified command to a string-based representation.
Namespace:
Endeca.DataAssembly: Endeca.Data (in Endeca.Data.dll) Version: 2.1.3.0 (2.1.3.622)
Syntax
| C# |
|---|
public string Serialize( EndecaCommand command, CommandSerializationContext context ) |
| Visual Basic (Declaration) |
|---|
Public Function Serialize ( _ command As EndecaCommand, _ context As CommandSerializationContext _ ) As String |
| Visual C++ |
|---|
public: String^ Serialize( EndecaCommand^ command, CommandSerializationContext^ context ) |
Parameters
- command
- Type: Endeca.Data.Provider..::.EndecaCommand
Command to serialize.
- context
- Type: Endeca.Data..::.CommandSerializationContext
Provides additional contextual information for use during serialization.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | if command is null. |