11 private readonly
Contract requestedContract;
12 private readonly
string petitionId;
13 private readonly
bool response;
14 private readonly
string clientEndpoint;
15 private readonly XmlElement context;
60 public XmlElement
Context => this.context;
Contains the definition of a contract
Event arguments for smart contract petition responses
string PetitionId
Petition ID
bool Response
If accepted (true) or rejected (false).
string ClientEndpoint
Remote endpoint of remote party client.
ContractPetitionResponseEventArgs(MessageEventArgs e, Contract RequestedContract, string PetitionId, bool Response, string ClientEndpoint, XmlElement Context)
Event arguments for smart contract petition responses
Contract RequestedContract
Requested contract, if accepted, null if rejected.
XmlElement Context
Any machine-readable context XML element available in the petition.
Event arguments for message events.