/
SqlAzureExecutionStrategy.xml
96 lines (96 loc) · 5.55 KB
/
SqlAzureExecutionStrategy.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
<Type Name="SqlAzureExecutionStrategy" FullName="System.Data.Entity.SqlServer.SqlAzureExecutionStrategy">
<TypeSignature Language="C#" Value="public class SqlAzureExecutionStrategy : System.Data.Entity.Infrastructure.DbExecutionStrategy" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SqlAzureExecutionStrategy extends System.Data.Entity.Infrastructure.DbExecutionStrategy" />
<TypeSignature Language="DocId" Value="T:System.Data.Entity.SqlServer.SqlAzureExecutionStrategy" />
<TypeSignature Language="VB.NET" Value="Public Class SqlAzureExecutionStrategy
Inherits DbExecutionStrategy" />
<TypeSignature Language="F#" Value="type SqlAzureExecutionStrategy = class
 inherit DbExecutionStrategy" />
<AssemblyInfo>
<AssemblyName>EntityFramework.SqlServer</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Data.Entity.Infrastructure.DbExecutionStrategy</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
An <see cref="T:System.Data.Entity.Infrastructure.IDbExecutionStrategy" /> that retries actions that throw exceptions caused by SQL Azure transient failures.
</summary>
<remarks>
This execution strategy will retry the operation on <see cref="T:System.TimeoutException" /> and <see cref="T:System.Data.SqlClient.SqlException" />
if the <see cref="P:System.Data.SqlClient.SqlException.Errors" /> contains any of the following error numbers:
40613, 40501, 40197, 10929, 10928, 10060, 10054, 10053, 233, 64 and 20
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SqlAzureExecutionStrategy ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Entity.SqlServer.SqlAzureExecutionStrategy.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>EntityFramework.SqlServer</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>
Creates a new instance of <see cref="T:System.Data.Entity.SqlServer.SqlAzureExecutionStrategy" />.
</summary>
<remarks>
The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor.
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SqlAzureExecutionStrategy (int maxRetryCount, TimeSpan maxDelay);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 maxRetryCount, valuetype System.TimeSpan maxDelay) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Entity.SqlServer.SqlAzureExecutionStrategy.#ctor(System.Int32,System.TimeSpan)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (maxRetryCount As Integer, maxDelay As TimeSpan)" />
<MemberSignature Language="F#" Value="new System.Data.Entity.SqlServer.SqlAzureExecutionStrategy : int * TimeSpan -> System.Data.Entity.SqlServer.SqlAzureExecutionStrategy" Usage="new System.Data.Entity.SqlServer.SqlAzureExecutionStrategy (maxRetryCount, maxDelay)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>EntityFramework.SqlServer</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="maxRetryCount" Type="System.Int32" />
<Parameter Name="maxDelay" Type="System.TimeSpan" />
</Parameters>
<Docs>
<param name="maxRetryCount"> The maximum number of retry attempts. </param>
<param name="maxDelay"> The maximum delay in milliseconds between retries. </param>
<summary>
Creates a new instance of <see cref="T:System.Data.Entity.SqlServer.SqlAzureExecutionStrategy" /> with the specified limits for
number of retries and the delay between retries.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ShouldRetryOn">
<MemberSignature Language="C#" Value="protected override bool ShouldRetryOn (Exception exception);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance bool ShouldRetryOn(class System.Exception exception) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Entity.SqlServer.SqlAzureExecutionStrategy.ShouldRetryOn(System.Exception)" />
<MemberSignature Language="F#" Value="override this.ShouldRetryOn : Exception -> bool" Usage="sqlAzureExecutionStrategy.ShouldRetryOn exception" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>EntityFramework.SqlServer</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="exception" Type="System.Exception" />
</Parameters>
<Docs>
<param name="exception">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<inheritdoc />
</Docs>
</Member>
</Members>
</Type>