-
Notifications
You must be signed in to change notification settings - Fork 260
/
IotHubClientTransportSettings.xml
186 lines (186 loc) · 9.72 KB
/
IotHubClientTransportSettings.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<Type Name="IotHubClientTransportSettings" FullName="Microsoft.Azure.Devices.Client.IotHubClientTransportSettings">
<TypeSignature Language="C#" Value="public abstract class IotHubClientTransportSettings" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit IotHubClientTransportSettings extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Azure.Devices.Client.IotHubClientTransportSettings" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class IotHubClientTransportSettings" />
<TypeSignature Language="F#" Value="type IotHubClientTransportSettings = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Devices.Client</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
Base class used to define various transport-specific settings for IoT hub device and module clients.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected IotHubClientTransportSettings ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Azure.Devices.Client.IotHubClientTransportSettings.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Devices.Client</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CertificateRevocationCheck">
<MemberSignature Language="C#" Value="public bool CertificateRevocationCheck { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CertificateRevocationCheck" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Devices.Client.IotHubClientTransportSettings.CertificateRevocationCheck" />
<MemberSignature Language="VB.NET" Value="Public Property CertificateRevocationCheck As Boolean" />
<MemberSignature Language="F#" Value="member this.CertificateRevocationCheck : bool with get, set" Usage="Microsoft.Azure.Devices.Client.IotHubClientTransportSettings.CertificateRevocationCheck" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Devices.Client</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>
To enable certificate revocation check.
</summary>
<value>To be added.</value>
<remarks>
Defaults to false.
</remarks>
</Docs>
</Member>
<Member MemberName="Protocol">
<MemberSignature Language="C#" Value="public Microsoft.Azure.Devices.Client.IotHubClientTransportProtocol Protocol { get; protected set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Microsoft.Azure.Devices.Client.IotHubClientTransportProtocol Protocol" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Devices.Client.IotHubClientTransportSettings.Protocol" />
<MemberSignature Language="VB.NET" Value="Public Property Protocol As IotHubClientTransportProtocol" />
<MemberSignature Language="F#" Value="member this.Protocol : Microsoft.Azure.Devices.Client.IotHubClientTransportProtocol with get, set" Usage="Microsoft.Azure.Devices.Client.IotHubClientTransportSettings.Protocol" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Devices.Client</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Azure.Devices.Client.IotHubClientTransportProtocol</ReturnType>
</ReturnValue>
<Docs>
<summary>
The configured transport protocol.
</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Proxy">
<MemberSignature Language="C#" Value="public System.Net.IWebProxy Proxy { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Net.IWebProxy Proxy" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Devices.Client.IotHubClientTransportSettings.Proxy" />
<MemberSignature Language="VB.NET" Value="Public Property Proxy As IWebProxy" />
<MemberSignature Language="F#" Value="member this.Proxy : System.Net.IWebProxy with get, set" Usage="Microsoft.Azure.Devices.Client.IotHubClientTransportSettings.Proxy" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Devices.Client</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Net.IWebProxy</ReturnType>
</ReturnValue>
<Docs>
<summary>
The web proxy that will be used to connect to IoT hub using a web socket connection for AMQP, MQTT, or when using the
HTTP protocol.
</summary>
<value>To be added.</value>
<remarks>
If you wish to bypass OS-specified proxy settings, set this to <see cref="M:System.Net.GlobalProxySelection.GetEmptyWebProxy" />.
</remarks>
<example>
To set a proxy you must instantiate an instance of the <see cref="T:System.Net.WebProxy" /> class--or any class that derives from <see cref="T:System.Net.IWebProxy" />.
The snippet below shows a method that returns a device using a proxy that connects to localhost on port 8888.
<c>
IotHubDeviceClient GetDeviceClient()
{
var proxy = new WebProxy("localhost", "8888");
var mqttSettings = new IotHubClientMqttSettings(IotHubClientTransportProtocol.WebSocket)
{
// Specify the WebProxy to be used for the connection
Proxy = proxy,
};
var fileUploadSettings = new IotHubClientHttpSettings
{
// Also configure the proxy for file uploads.
Proxy = proxy,
};
var options = new IotHubClientOptions(mqttSettings)
{
FileUploadTransportSettings = fileUploadSettings,
};
return new IotHubDeviceClient("a connection string", options);
}
</c></example>
</Docs>
</Member>
<Member MemberName="SslProtocols">
<MemberSignature Language="C#" Value="public System.Security.Authentication.SslProtocols SslProtocols { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Security.Authentication.SslProtocols SslProtocols" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Devices.Client.IotHubClientTransportSettings.SslProtocols" />
<MemberSignature Language="VB.NET" Value="Public Property SslProtocols As SslProtocols" />
<MemberSignature Language="F#" Value="member this.SslProtocols : System.Security.Authentication.SslProtocols with get, set" Usage="Microsoft.Azure.Devices.Client.IotHubClientTransportSettings.SslProtocols" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Devices.Client</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.SslProtocols</ReturnType>
</ReturnValue>
<Docs>
<summary>
The version of TLS to use by default.
</summary>
<value>To be added.</value>
<remarks>
Defaults to "None", which means let the OS decide the proper TLS version (SChannel in Windows / OpenSSL in Linux).
</remarks>
</Docs>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Azure.Devices.Client.IotHubClientTransportSettings.ToString" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function ToString () As String" />
<MemberSignature Language="F#" Value="override this.ToString : unit -> string" Usage="iotHubClientTransportSettings.ToString " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Devices.Client</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<inheritdoc />
</Docs>
</Member>
</Members>
</Type>