IsActivationAllowed() static private méthode

static private IsActivationAllowed ( String TypeName ) : bool
TypeName String
Résultat bool
Exemple #1
0
        public static bool IsActivationAllowed(Type svrType)
        {
            RuntimeType runtimeType = svrType as RuntimeType;

            if (svrType != null && runtimeType == null)
            {
                throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
            }
            return(RemotingConfigHandler.IsActivationAllowed(runtimeType));
        }
 public static bool IsActivationAllowed(Type svrType)
 {
     return(RemotingConfigHandler.IsActivationAllowed(svrType));
 }