Forum Discussion
fayrehouse
13 years agoFrequent Contributor
Hi Tanya,
A bit of help with the conversion to JScript would be hugely appreciated. I'm probably being really dumb here but...
The 2nd parameter in AutoDiscover is of course a call to ReedirectionUrlValidationCallback. The call doesn't mention a param, but the function defintion DOES include a string param (the URL). Also, the function returns a bool, but the 2nd overload of AutoDiscoverUrl is expecting the 2nd param to be of *type* AutoDiscoverRedirectionUrlValidationCallback?
I suspect a lot of this is about me learning to convert some of the EWS samples (typically C#) into JScript / using the TC dotNet notation...
I've no doubt I'm missing something obvious, but... :)
Thanks
Steve
A bit of help with the conversion to JScript would be hugely appreciated. I'm probably being really dumb here but...
The 2nd parameter in AutoDiscover is of course a call to ReedirectionUrlValidationCallback. The call doesn't mention a param, but the function defintion DOES include a string param (the URL). Also, the function returns a bool, but the 2nd overload of AutoDiscoverUrl is expecting the 2nd param to be of *type* AutoDiscoverRedirectionUrlValidationCallback?
I suspect a lot of this is about me learning to convert some of the EWS samples (typically C#) into JScript / using the TC dotNet notation...
I've no doubt I'm missing something obvious, but... :)
Thanks
Steve