Exemplo n.º 1
0
 internal static void GetGlobalVariableAsync(GetGlobalVariableCallBack callback)
 {
     Guid callerKey = Guid.NewGuid();
     ApartmentServiceClient proxy = GetProxy(callerKey, callback);
     proxy.GetGlobalVariableCompleted += new EventHandler<GetGlobalVariableCompletedEventArgs>(proxy_GetGlobalVariableCompleted);
     proxy.GetGlobalVariableAsync(callerKey);
 }
        internal static void GetGlobalVariableAsync(GetGlobalVariableCallBack callback)
        {
            Guid callerKey = Guid.NewGuid();
            ApartmentServiceClient proxy = GetProxy(callerKey, callback);

            proxy.GetGlobalVariableCompleted += new EventHandler <GetGlobalVariableCompletedEventArgs>(proxy_GetGlobalVariableCompleted);
            proxy.GetGlobalVariableAsync(callerKey);
        }