Connection Timeout using HLAPI

Connection Timeout using HLAPI

Is it possible to set the connection timeout when using the HLAPI?It seems that the timeout defaults to 60 seconds before an unable to connect exception is thrown.

2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

Hi johnnysdev,
Thanks for your post. It looks like you can set the timeout interval using the following in C#:

public ushort TimeoutInterval { get; private set; }

There is also a Policy.Timeout function:

public uint Timeout { get; internal set; }

There is a note on this page to suggest that it doesn't work for AMT 4.0 and earlier.

You may want to check out the HLAPI documentation available at the bottom of the HLAPI page:


Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi