Context.UnregisterDynamicProperty(String, ContextBoundObject, Context) Metodo

Definizione

Annulla la registrazione di una proprietà dinamica che implementa l'interfaccia IDynamicProperty .

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 static bool UnregisterDynamicProperty(System::String ^ name, ContextBoundObject ^ obj, System::Runtime::Remoting::Contexts::Context ^ ctx);
public static bool UnregisterDynamicProperty(string name, ContextBoundObject obj, System.Runtime.Remoting.Contexts.Context ctx);
static member UnregisterDynamicProperty : string * ContextBoundObject * System.Runtime.Remoting.Contexts.Context -> bool
Public Shared Function UnregisterDynamicProperty (name As String, obj As ContextBoundObject, ctx As Context) As Boolean

Parametri

name
String

Nome della proprietà dinamica da annullare la registrazione.

obj
ContextBoundObject

Oggetto/proxy per il quale è registrato l'oggetto property .

ctx
Context

Contesto per il quale è registrato l'oggetto property .

Valori restituiti

true se l'oggetto è stato annullato correttamente la registrazione; in caso contrario, false.

Eccezioni

Il name parametro è null.

Vengono specificati sia un oggetto che un contesto (sia obj che ctx non nullsono ).

Si applica a