Binding.GetProperty<T>(BindingParameterCollection) Método
Definición
Devuelve un objeto escrito solicitado de la capa adecuada en la pila de enlace si está presente.Returns a typed object requested, if present, from the appropriate layer in the binding stack.
public:
generic <typename T>
where T : class T GetProperty(System::ServiceModel::Channels::BindingParameterCollection ^ parameters);
public T GetProperty<T> (System.ServiceModel.Channels.BindingParameterCollection parameters) where T : class;
member this.GetProperty : System.ServiceModel.Channels.BindingParameterCollection -> 'T (requires 'T : null)
Public Function GetProperty(Of T As Class) (parameters As BindingParameterCollection) As T
Parámetros de tipo
- T
El objeto con tipo que está consultando el método.The typed object for which the method is querying.
Parámetros
- parameters
- BindingParameterCollection
BindingParameterCollection que especifica los requisitos para el agente de escucha del canal creado.The BindingParameterCollection that specifies requirements for the channel listener that is built.
Devoluciones
- T
El objeto escrito solicitado T
, si está presente, o null
si no lo está.The typed object T
requested if it is present or null
if it is not.
Comentarios
Si una capa permite devolver el objeto solicitado, lo devuelve.If a layer supports returning the requested object, it returns it. Si no, delega la llamada bajando a la capa siguiente de la pila.If not, it delegates the call down to the next layer in the stack. Si se llega a la parte inferior de la pila y ninguna capa permite el objeto solicitado, a continuación, el método devuelve null
.If it gets to the bottom of the stack and no layer supported the requested object, then the method returns null
.