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