Class Close
Close cursor
@startuml
client -> server: Close
alt Success
client <- server: Ok
else Failure
client <- server: Error
end
@enduml
@returns @ref Mysqlx::Ok or @ref Mysqlx::Error
Inheritance
System.Object
Close
Implements
Google.Protobuf.IBufferMessage
Assembly: MySql.Data.dll
Version: 9.2.0
Syntax
public sealed class Close : Google.Protobuf.IMessage<Close>
Constructors
Close()
Declaration
Close(Close)
Declaration
public Close(Close other)
Parameters
Type |
Name |
Description |
Close |
other |
|
Fields
CursorIdFieldNumber
Field number for the "cursor_id" field.
Declaration
public const int CursorIdFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Properties
CursorId
- client-side assigned cursor ID; must be allocated/open
Declaration
public uint CursorId { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
HasCursorId
Gets whether the "cursor_id" field is set
Declaration
public bool HasCursorId { get; }
Property Value
Type |
Description |
System.Boolean |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<Close> Parser { get; }
Property Value
Type |
Description |
Google.Protobuf.MessageParser<Close> |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
ClearCursorId()
Clears the value of the "cursor_id" field
Declaration
public void ClearCursorId()
Clone()
Declaration
Returns
Equals(Close)
Declaration
public bool Equals(Close other)
Parameters
Type |
Name |
Description |
Close |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
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.String |
|
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Implements
Google.Protobuf.IBufferMessage