MetadataEntry Constructor (String, Byte) |
Initializes a new instance of the
MetadataEntry struct with a binary value.
Namespace: Grpc.CoreAssembly: Grpc.Core (in Grpc.Core.dll) Version: 0.6.1.0
Syntaxpublic Entry(
string key,
byte[] valueBytes
)
Public Sub New (
key As String,
valueBytes As Byte()
)
public:
Entry(
String^ key,
array<unsigned char>^ valueBytes
)
new :
key : string *
valueBytes : byte[] -> Entry
Parameters
- key
- Type: SystemString
Metadata key, needs to have suffix indicating a binary valued metadata entry. - valueBytes
- Type: SystemByte
Value bytes.
See Also