obj_type = a.GetType (typeName);
obj_uri = objectUri;
obj_mode = mode;
+ if (obj_type == null)
+ throw new RemotingException ("Type not found: " + typeName + ", " + assemblyName);
}
public IContextAttribute [] ContextAttributes {
public WellKnownObjectMode Mode {
get { return obj_mode; }
- set { obj_mode = value; }
}
public Type ObjectType {
public string ObjectUri {
get { return obj_uri; }
- set { obj_uri = value; }
}
- [MonoTODO]
public override string ToString ()
{
- return TypeName + AssemblyName + ObjectUri;
+ return TypeName + ", " + AssemblyName + " " + ObjectUri;
}
}
}