static private IsWellKnownClientType ( String typeName, String assemblyName ) : |
||
typeName | String | |
assemblyName | String | |
return |
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)); }
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)); }
public static WellKnownClientTypeEntry IsWellKnownClientType(string typeName, string assemblyName) { return(RemotingConfigHandler.IsWellKnownClientType(typeName, assemblyName)); }
public static WellKnownClientTypeEntry IsWellKnownClientType(Type svrType) { return(RemotingConfigHandler.IsWellKnownClientType(svrType)); }