Class Close
Announce to the server that the client wants to close the connection.
It discards any session state of the server.
@returns @ref Mysqlx::Ok
Inheritance
System.Object
Close
Implements
Google.Protobuf.IMessage <Close>
System.IEquatable <Close>
Google.Protobuf.IDeepCloneable <Close>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage
Namespace: Mysqlx.Connection
Assembly: MySql.Data.dll
Version: 9.3.0
Syntax
public sealed class Close : IMessage<Close>, IEquatable<Close>, IDeepCloneable<Close>, IBufferMessage, IMessage
Constructors
Close()
Declaration
public Close()
Close(Close)
Declaration
public Close(Close other)
Parameters
Type | Name | Description |
---|---|---|
Close | other |
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
Google. |
Parser
Declaration
public static MessageParser<Close> Parser { get; }
Property Value
Type | Description |
---|---|
Google. |
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type | Description |
---|---|
System. |
Clone()
Declaration
public Close Clone()
Returns
Type | Description |
---|---|
Close |
Equals(Close)
Declaration
public bool Equals(Close other)
Parameters
Type | Name | Description |
---|---|---|
Close | other |
Returns
Type | Description |
---|---|
System. |
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System. |
other |
Returns
Type | Description |
---|---|
System. |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Overrides
System.Object.GetHashCode()
MergeFrom(CodedInputStream)
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type | Name | Description |
---|---|---|
Google. |
input |
MergeFrom(Close)
Declaration
public void MergeFrom(Close other)
Parameters
Type | Name | Description |
---|---|---|
Close | other |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type | Name | Description |
---|---|---|
Google. |
output |
Explicit Interface Implementations
IBufferMessage.InternalMergeFrom(ref ParseContext)
Declaration
void IBufferMessage.InternalMergeFrom(ref ParseContext input)
Parameters
Type | Name | Description |
---|---|---|
Google. |
input |
IBufferMessage.InternalWriteTo(ref WriteContext)
Declaration
void IBufferMessage.InternalWriteTo(ref WriteContext output)
Parameters
Type | Name | Description |
---|---|---|
Google. |
output |
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type | Description |
---|---|
Google. |
Implements
Google.Protobuf.IMessage<T>
System.IEquatable<T>
Google.Protobuf.IDeepCloneable<T>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage