Class Health
Inheritance
System.Object
Health
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Grpc.Health.V1
Assembly: Grpc.HealthCheck.dll
Syntax
public static class Health
Properties
Descriptor
Service descriptor
Declaration
public static Google.Protobuf.Reflection.ServiceDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
Google.Protobuf.Reflection.ServiceDescriptor |
Methods
BindService(ServiceBinderBase, Health.HealthBase)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Declaration
public static void BindService(ServiceBinderBase serviceBinder, Health.HealthBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
ServiceBinderBase | serviceBinder | Service methods will be bound by calling |
Health.HealthBase | serviceImpl | An object implementing the server-side handling logic. |
BindService(Health.HealthBase)
Creates service definition that can be registered with a server
Declaration
public static ServerServiceDefinition BindService(Health.HealthBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
Health.HealthBase | serviceImpl | An object implementing the server-side handling logic. |
Returns
Type | Description |
---|---|
ServerServiceDefinition |