MetadataEntry Constructor (String, String) |
Initializes a new instance of the
MetadataEntry struct holding an ASCII value.
Namespace: Grpc.CoreAssembly: Grpc.Core (in Grpc.Core.dll) Version: 0.7.0.0
Syntaxpublic Entry(
string key,
string value
)
Public Sub New (
key As String,
value As String
)
public:
Entry(
String^ key,
String^ value
)
new :
key : string *
value : string -> Entry
Parameters
- key
- Type: SystemString
Metadata key, must not use suffix indicating a binary valued metadata entry. - value
- Type: SystemString
Value string. Only ASCII characters are allowed.
See Also