Constructor NatsSvcMsg
NatsSvcMsg(NatsMsg<T>, NatsSvcEndpointBase?, Exception?)
Creates a new instance of NatsSvcMsg<T>.
public NatsSvcMsg(NatsMsg<T> msg, NatsSvcEndpointBase? endPoint, Exception? exception)
Parameters
msgNatsMsg<T>NATS message.
endPointNatsSvcEndpointBaseService endpoint.
exceptionExceptionOptional exception if there were any errors.