var completion=function() {
completion.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
completion.prototype={
GetEmailCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(completion.get_path(), 'GetEmailCompletionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
completion.registerClass('completion',Sys.Net.WebServiceProxy);
completion._staticInstance = new completion();
completion.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; completion._staticInstance._path = value; }
completion.get_path = function() { return completion._staticInstance._path; }
completion.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
completion._staticInstance._timeout = value; }
completion.get_timeout = function() { 
return completion._staticInstance._timeout; }
completion.set_defaultUserContext = function(value) { 
completion._staticInstance._userContext = value; }
completion.get_defaultUserContext = function() { 
return completion._staticInstance._userContext; }
completion.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; completion._staticInstance._succeeded = value; }
completion.get_defaultSucceededCallback = function() { 
return completion._staticInstance._succeeded; }
completion.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; completion._staticInstance._failed = value; }
completion.get_defaultFailedCallback = function() { 
return completion._staticInstance._failed; }
completion.set_path("/completion.asmx");
completion.GetEmailCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {completion._staticInstance.GetEmailCompletionList(prefixText,count,onSuccess,onFailed,userContext); }
