System.Runtime.Remoting.RemotingConfigHandler.IsRemotelyActivatedClientType C# (CSharp) Method

IsRemotelyActivatedClientType() static private method

static private IsRemotelyActivatedClientType ( String typeName, String assemblyName ) : ActivatedClientTypeEntry
typeName String
assemblyName String
return ActivatedClientTypeEntry
        internal static ActivatedClientTypeEntry IsRemotelyActivatedClientType(String typeName, String assemblyName)
        {
            return Info.QueryRemoteActivate(typeName, assemblyName);
        }

Same methods

RemotingConfigHandler::IsRemotelyActivatedClientType ( Type svrType ) : ActivatedClientTypeEntry

Usage Example

示例#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));
        }
All Usage Examples Of System.Runtime.Remoting.RemotingConfigHandler::IsRemotelyActivatedClientType