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 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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:


Leave a Comment

Please sign in to add a comment. Not a member? Join today