System.Runtime.Remoting.RemotingConfigHandler.IsWellKnownClientType C# (CSharp) Méthode

IsWellKnownClientType() static private méthode

static private IsWellKnownClientType ( String typeName, String assemblyName ) : WellKnownClientTypeEntry
typeName String
assemblyName String
Résultat WellKnownClientTypeEntry
        internal static WellKnownClientTypeEntry IsWellKnownClientType(String typeName, 
                                                                       String assemblyName)
        {
            return Info.QueryConnect(typeName, assemblyName);
        }

Same methods

RemotingConfigHandler::IsWellKnownClientType ( Type svrType ) : WellKnownClientTypeEntry

Usage Example

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