Initializes a new CommandInfo instance.
Namespace:
Endeca.Web.UrlAssembly: Endeca.Web (in Endeca.Web.dll) Version: 2.1.3.0 (2.1.3.622)
Syntax
| C# |
|---|
public CommandInfo( ICommandSource commandSource, CommandSerializationContext context ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ commandSource As ICommandSource, _ context As CommandSerializationContext _ ) |
| Visual C++ |
|---|
public: CommandInfo( ICommandSource^ commandSource, CommandSerializationContext^ context ) |
Parameters
- commandSource
- Type: Endeca.Data.Provider..::.ICommandSource
Command source that provides access to an EndecaCommand.
- context
- Type: Endeca.Data..::.CommandSerializationContext
Provides contextual information for use with Serialize(EndecaCommand, CommandSerializationContext).
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | if commandSource or context is null. |