Class GrpcGetWindowsOptionalFeaturesReply
Describes the current Windows capabilities.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcGetWindowsOptionalFeaturesReply
Constructors
GrpcGetWindowsOptionalFeaturesReply()
Default constructor.
Declaration
public GrpcGetWindowsOptionalFeaturesReply()
GrpcGetWindowsOptionalFeaturesReply(Dictionary<string, WindowsFeatureStatus>)
Reply constructor.
Declaration
public GrpcGetWindowsOptionalFeaturesReply(Dictionary<string, WindowsFeatureStatus> capabilities)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<string, WindowsFeatureStatus> | capabilities | Specifies the capabilities being returned. |
GrpcGetWindowsOptionalFeaturesReply(Exception)
Error constructor.
Declaration
public GrpcGetWindowsOptionalFeaturesReply(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | The exception. |
Properties
Capabilities
A dictionary mapping Windows feature names to their current status.
Declaration
[DataMember(Order = 2)]
public Dictionary<string, WindowsFeatureStatus>? Capabilities { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, WindowsFeatureStatus> |
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 |