Protocol Enumeration
Updated: June 30, 2017
Specifies the protocol to be used by DocumentClient for communicating to the Azure DocumentDB service.
Assembly: Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)
| Member name | Description | |
|---|---|---|
| Https | Specifies the HTTPS protocol. | |
| Tcp | Specifies a custom binary protocol on TCP. | |
| IsDefined | Determines if a certain property is defined or not. (Defined by TypeCheckFunctionsExtensions.) | |
| IsNull | Determines if a certain property is null or not. (Defined by TypeCheckFunctionsExtensions.) | |
| IsPrimitive | Determines if a certain property is of premitive JSON type. (Defined by TypeCheckFunctionsExtensions.) |
DocumentClient client = new DocumentClient(endpointUri, masterKey, new ConnectionPolicy { ConnectionMode = ConnectionMode.Direct, ConnectionProtocol = Protocol.Tcp });
Show: