We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4783dc1 commit b86f06aCopy full SHA for b86f06a
src/Confluent.Kafka/Handle.cs
@@ -25,6 +25,14 @@ namespace Confluent.Kafka
25
/// </summary>
26
public class Handle
27
{
28
+ /// <summary>
29
+ /// Gets a value indicating whether the encapsulated librdkafka handle is invalid.
30
+ /// </summary>
31
+ /// <value>
32
+ /// <b>true</b> if the encapsulated librdkafka handle is invalid; otherwise, <b>false</b>.
33
+ /// </value>
34
+ public bool IsInvalid => this.LibrdkafkaHandle == null || this.LibrdkafkaHandle.IsInvalid;
35
+
36
internal IClient Owner { get; set; }
37
38
internal SafeKafkaHandle LibrdkafkaHandle { get; set; }
0 commit comments