Type.registerNamespace('ASMML.DesktopModules');
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu=function() {
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance.get_path();},
EnviarCorreu:function(idclient,urlDesti,nom,emailOrigen,email,currentCulture,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EnviarCorreu',false,{idclient:idclient,urlDesti:urlDesti,nom:nom,emailOrigen:emailOrigen,email:email,currentCulture:currentCulture},succeededCallback,failedCallback,userContext); }}
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.registerClass('ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu',Sys.Net.WebServiceProxy);
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance = new ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu();
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.set_path = function(value) { ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance.set_path(value); }
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.get_path = function() { return ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance.get_path(); }
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.set_timeout = function(value) { ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance.set_timeout(value); }
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.get_timeout = function() { return ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance.get_timeout(); }
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.set_defaultUserContext = function(value) { ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance.set_defaultUserContext(value); }
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.get_defaultUserContext = function() { return ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance.get_defaultUserContext(); }
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.set_defaultSucceededCallback = function(value) { ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance.set_defaultSucceededCallback(value); }
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.get_defaultSucceededCallback = function() { return ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance.get_defaultSucceededCallback(); }
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.set_defaultFailedCallback = function(value) { ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance.set_defaultFailedCallback(value); }
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.get_defaultFailedCallback = function() { return ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance.get_defaultFailedCallback(); }
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.set_path("/DesktopModules/ASM_Exposicions/ASM_Exposicions_EnviarCorreu.asmx");
ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu.EnviarCorreu= function(idclient,urlDesti,nom,emailOrigen,email,currentCulture,onSuccess,onFailed,userContext) {ASMML.DesktopModules.ASM_Exposicions_EnviarCorreu._staticInstance.EnviarCorreu(idclient,urlDesti,nom,emailOrigen,email,currentCulture,onSuccess,onFailed,userContext); }

