static private IsActivationAllowed ( String TypeName ) : bool | ||
TypeName | String | |
Résultat | bool |
public static bool IsActivationAllowed(Type svrType) { RuntimeType runtimeType = svrType as RuntimeType; if (svrType != null && runtimeType == null) { throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeType")); } return(RemotingConfigHandler.IsActivationAllowed(runtimeType)); }
public static bool IsActivationAllowed(Type svrType) { return(RemotingConfigHandler.IsActivationAllowed(svrType)); }