Unregister dynamic property. See RegisterDynamicProperty.
[Visual Basic] Public Shared Function UnregisterDynamicProperty( _ ByVal name As String, _ ByVal obj As MarshalByRefObject, _ ByVal ctx As Context _ ) As Boolean [C#] public static bool UnregisterDynamicProperty( string name, MarshalByRefObject obj, Context ctx ); [C++] public: static bool UnregisterDynamicProperty( String* name, MarshalByRefObject* obj, Context* ctx ); [JScript] public static function UnregisterDynamicProperty( name : String, obj : MarshalByRefObject, ctx : Context ) : Boolean;
Returns true if the object was successfully unregistered
Exception Type | Condition |
---|---|
ArgumentNullException | is thrown if the name is null |
ArgumentException | is thrown if both an object as well as a context is specified |
Context Class | Context Members | System.Runtime.Remoting Namespace