IsWellKnownClientType() static private méthode

static private IsWellKnownClientType ( String typeName, String assemblyName ) : WellKnownClientTypeEntry
typeName String
assemblyName String
Résultat WellKnownClientTypeEntry
Exemple #1
0
        public static WellKnownClientTypeEntry IsWellKnownClientType(Type svrType)
        {
            if (svrType == null)
            {
                throw new ArgumentNullException("svrType");
            }
            RuntimeType runtimeType = svrType as RuntimeType;

            if (runtimeType == null)
            {
                throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
            }
            return(RemotingConfigHandler.IsWellKnownClientType(runtimeType));
        }
Exemple #2
0
        public static WellKnownClientTypeEntry IsWellKnownClientType(Type svrType)
        {
            if (svrType == (Type)null)
            {
                throw new ArgumentNullException("svrType");
            }
            RuntimeType svrType1 = svrType as RuntimeType;
            // ISSUE: variable of the null type
            __Null local = null;

            if (svrType1 == (RuntimeType)local)
            {
                throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType"));
            }
            return(RemotingConfigHandler.IsWellKnownClientType(svrType1));
        }
Exemple #3
0
 public static WellKnownClientTypeEntry IsWellKnownClientType(string typeName, string assemblyName)
 {
     return(RemotingConfigHandler.IsWellKnownClientType(typeName, assemblyName));
 }
 public static WellKnownClientTypeEntry IsWellKnownClientType(Type svrType)
 {
     return(RemotingConfigHandler.IsWellKnownClientType(svrType));
 }