var UsernameService=function() {
UsernameService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
UsernameService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return UsernameService._staticInstance.get_path();},
IsAvailable:function(TocheckFor,succeededCallback, failedCallback, userContext) {
/// <param name="TocheckFor" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'IsAvailable',false,{TocheckFor:TocheckFor},succeededCallback,failedCallback,userContext); }}
UsernameService.registerClass('UsernameService',Sys.Net.WebServiceProxy);
UsernameService._staticInstance = new UsernameService();
UsernameService.set_path = function(value) {
UsernameService._staticInstance.set_path(value); }
UsernameService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return UsernameService._staticInstance.get_path();}
UsernameService.set_timeout = function(value) {
UsernameService._staticInstance.set_timeout(value); }
UsernameService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return UsernameService._staticInstance.get_timeout(); }
UsernameService.set_defaultUserContext = function(value) { 
UsernameService._staticInstance.set_defaultUserContext(value); }
UsernameService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return UsernameService._staticInstance.get_defaultUserContext(); }
UsernameService.set_defaultSucceededCallback = function(value) { 
 UsernameService._staticInstance.set_defaultSucceededCallback(value); }
UsernameService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return UsernameService._staticInstance.get_defaultSucceededCallback(); }
UsernameService.set_defaultFailedCallback = function(value) { 
UsernameService._staticInstance.set_defaultFailedCallback(value); }
UsernameService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return UsernameService._staticInstance.get_defaultFailedCallback(); }
UsernameService.set_enableJsonp = function(value) { UsernameService._staticInstance.set_enableJsonp(value); }
UsernameService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return UsernameService._staticInstance.get_enableJsonp(); }
UsernameService.set_jsonpCallbackParameter = function(value) { UsernameService._staticInstance.set_jsonpCallbackParameter(value); }
UsernameService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return UsernameService._staticInstance.get_jsonpCallbackParameter(); }
UsernameService.set_path("/UsernameService.asmx");
UsernameService.IsAvailable= function(TocheckFor,onSuccess,onFailed,userContext) {
/// <param name="TocheckFor" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
UsernameService._staticInstance.IsAvailable(TocheckFor,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(UsernameResult) === 'undefined') {
var UsernameResult=gtc("UsernameResult");
UsernameResult.registerClass('UsernameResult');
}

