Class GrpcFindNatReply
Returns information about a specific virtual Hyper-V NAT.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcFindNatReply
Constructors
GrpcFindNatReply()
Default constructor.
Declaration
public GrpcFindNatReply()
GrpcFindNatReply(GrpcVirtualNat)
Constructor.
Declaration
public GrpcFindNatReply(GrpcVirtualNat nat)
Parameters
Type | Name | Description |
---|---|---|
GrpcVirtualNat | nat | The NAT details. |
GrpcFindNatReply(Exception)
Error constructor.
Declaration
public GrpcFindNatReply(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | The exception. |
Properties
Error
Set to a non-null error when the request failed.
Declaration
[DataMember(Order = 1)]
public GrpcError? Error { get; set; }
Property Value
Type | Description |
---|---|
GrpcError |
Nat
The NAT details or null
if the NAT doesn't exist.
Declaration
[DataMember(Order = 2)]
public GrpcVirtualNat? Nat { get; set; }
Property Value
Type | Description |
---|---|
GrpcVirtualNat |