-
Notifications
You must be signed in to change notification settings - Fork 255
/
NoRetry.xml
93 lines (93 loc) · 4.79 KB
/
NoRetry.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
<Type Name="NoRetry" FullName="Microsoft.Azure.Devices.Client.NoRetry">
<TypeSignature Language="C#" Value="public class NoRetry : Microsoft.Azure.Devices.Client.IRetryPolicy" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit NoRetry extends System.Object implements class Microsoft.Azure.Devices.Client.IRetryPolicy" />
<TypeSignature Language="DocId" Value="T:Microsoft.Azure.Devices.Client.NoRetry" />
<TypeSignature Language="VB.NET" Value="Public Class NoRetry
Implements IRetryPolicy" />
<TypeSignature Language="F#" Value="type NoRetry = class
 interface IRetryPolicy" />
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Devices.Client</AssemblyName>
<AssemblyVersion>1.31.2.0</AssemblyVersion>
<AssemblyVersion>1.32.0.0</AssemblyVersion>
<AssemblyVersion>1.36.0.0</AssemblyVersion>
<AssemblyVersion>1.36.1.0</AssemblyVersion>
<AssemblyVersion>1.36.6.0</AssemblyVersion>
<AssemblyVersion>1.37.0.0</AssemblyVersion>
<AssemblyVersion>1.37.1.0</AssemblyVersion>
<AssemblyVersion>1.37.2.0</AssemblyVersion>
<AssemblyVersion>1.38.0.0</AssemblyVersion>
<AssemblyVersion>1.39.0.0</AssemblyVersion>
<AssemblyVersion>1.40.0.0</AssemblyVersion>
<AssemblyVersion>1.41.0.0</AssemblyVersion>
<AssemblyVersion>1.41.1.0</AssemblyVersion>
<AssemblyVersion>1.41.2.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.Azure.Devices.Client.IRetryPolicy</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>
Represents a retry policy that performs no retries.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public NoRetry ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Azure.Devices.Client.NoRetry.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Devices.Client</AssemblyName>
<AssemblyVersion>1.36.6.0</AssemblyVersion>
<AssemblyVersion>1.41.2.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>
Create an instance of a retry policy that perfrms no retries.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ShouldRetry">
<MemberSignature Language="C#" Value="public bool ShouldRetry (int currentRetryCount, Exception lastException, out TimeSpan retryInterval);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool ShouldRetry(int32 currentRetryCount, class System.Exception lastException, [out] valuetype System.TimeSpan& retryInterval) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Azure.Devices.Client.NoRetry.ShouldRetry(System.Int32,System.Exception,System.TimeSpan@)" />
<MemberSignature Language="VB.NET" Value="Public Function ShouldRetry (currentRetryCount As Integer, lastException As Exception, ByRef retryInterval As TimeSpan) As Boolean" />
<MemberSignature Language="F#" Value="abstract member ShouldRetry : int * Exception * TimeSpan -> bool
override this.ShouldRetry : int * Exception * TimeSpan -> bool" Usage="noRetry.ShouldRetry (currentRetryCount, lastException, retryInterval)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Azure.Devices.Client.IRetryPolicy.ShouldRetry(System.Int32,System.Exception,System.TimeSpan@)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Devices.Client</AssemblyName>
<AssemblyVersion>1.36.6.0</AssemblyVersion>
<AssemblyVersion>1.41.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="currentRetryCount" Type="System.Int32" />
<Parameter Name="lastException" Type="System.Exception" />
<Parameter Name="retryInterval" Type="System.TimeSpan" RefType="out" />
</Parameters>
<Docs>
<param name="currentRetryCount">The current retry count.</param>
<param name="lastException">The last exception.</param>
<param name="retryInterval">The retry interval.</param>
<summary>
A policy to never retry
</summary>
<returns>Whether or not to retry</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>