Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

CommonAppenders..::..SetTimeout<(Of <(<'TResult>)>)> Method

Sets the command timeout, overriding the value set in the DataSource.

Namespace:  Tortuga.Chain
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


public static ILink<TResult> SetTimeout<TResult>(
	this ILink<TResult> previousLink,
	TimeSpan timeout
)
<ExtensionAttribute> _
Public Shared Function SetTimeout(Of TResult) ( _
	previousLink As ILink(Of TResult), _
	timeout As TimeSpan _
) As ILink(Of TResult)
[ExtensionAttribute]
public:
generic<typename TResult>
static ILink<TResult>^ SetTimeout(
	ILink<TResult>^ previousLink, 
	TimeSpan^ timeout
)

Type Parameters

TResult
The type of the t result.

Parameters

previousLink
Type: Tortuga.Chain..::..ILink<(Of <(<'TResult>)>)>
The previous link.
timeout
Type: TimeSpan
The timeout.

Return Value

ILink<TResult>.