IsRemotelyActivatedClientType() static private method

static private IsRemotelyActivatedClientType ( String typeName, String assemblyName ) : ActivatedClientTypeEntry
typeName String
assemblyName String
return ActivatedClientTypeEntry
コード例 #1
0
        public static ActivatedClientTypeEntry IsRemotelyActivatedClientType(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.IsRemotelyActivatedClientType(runtimeType));
        }
コード例 #2
0
        public static ActivatedClientTypeEntry IsRemotelyActivatedClientType(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.IsRemotelyActivatedClientType(svrType1));
        }
コード例 #3
0
 public static ActivatedClientTypeEntry IsRemotelyActivatedClientType(string typeName, string assemblyName)
 {
     return(RemotingConfigHandler.IsRemotelyActivatedClientType(typeName, assemblyName));
 }
コード例 #4
0
 public static ActivatedClientTypeEntry IsRemotelyActivatedClientType(Type svrType)
 {
     return(RemotingConfigHandler.IsRemotelyActivatedClientType(svrType));
 }