Class ErroredCommandResponse
Special case for error messages.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Petabridge.Cmd
Assembly: cs.temp.dll.dll
Syntax
public class ErroredCommandResponse : CommandResponse
Constructors
ErroredCommandResponse(String, Boolean)
Declaration
public ErroredCommandResponse(string msg, bool final = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg | |
System.Boolean | final |
ErroredCommandResponse(String, Int64, Boolean)
Declaration
public ErroredCommandResponse(string msg, long sessionId, bool final = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg | |
System.Int64 | sessionId | |
System.Boolean | final |
Properties
IsError
Declaration
public override bool IsError { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
WithSessionId(Int64)
Declaration
public override CommandResponse WithSessionId(long sessionId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | sessionId |
Returns
Type | Description |
---|---|
CommandResponse |