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 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

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:


Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen