RegisterActivatedServiceType() static private méthode

static private RegisterActivatedServiceType ( ActivatedServiceTypeEntry entry ) : void
entry ActivatedServiceTypeEntry
Résultat void
Exemple #1
0
 public static void RegisterActivatedServiceType(ActivatedServiceTypeEntry entry)
 {
     RemotingConfigHandler.RegisterActivatedServiceType(entry);
     if (!RemotingConfiguration.s_ListeningForActivationRequests)
     {
         RemotingConfiguration.s_ListeningForActivationRequests = true;
         ActivationServices.StartListeningForRemoteRequests();
     }
 }
        public static void RegisterActivatedServiceType(ActivatedServiceTypeEntry entry)
        {
            RemotingConfigHandler.RegisterActivatedServiceType(entry);

            // make sure we're listening for activation requests
            //  (all registrations for activated service types will come through here)
            if (!s_ListeningForActivationRequests)
            {
                s_ListeningForActivationRequests = true;
                ActivationServices.StartListeningForRemoteRequests();
            }
        } // RegisterActivatedServiceType