| ExtensionMethodsSetTimeout Method |
Set timeout on me to millisecondTimeout
Namespace:
SanteDB.Core
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax public static void SetTimeout(
this IRestClient me,
int millisecondTimeout
)
<ExtensionAttribute>
Public Shared Sub SetTimeout (
me As IRestClient,
millisecondTimeout As Integer
)
public:
[ExtensionAttribute]
static void SetTimeout(
IRestClient^ me,
int millisecondTimeout
)
[<ExtensionAttribute>]
static member SetTimeout :
me : IRestClient *
millisecondTimeout : int -> unit
Parameters
- me
- Type: SanteDB.Core.HttpIRestClient
The rest client to set the timeout on - millisecondTimeout
- Type: SystemInt32
The timeout to set
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IRestClient. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also