DiscoveryClientBindingElement.GetProperty<T>(BindingContext) Método
Definição
Retorna um objeto do tipo solicitado, se presente na pilha de associação.Returns an object of the requested type, if present in the binding stack.
public:
generic <typename T>
where T : class override T GetProperty(System::ServiceModel::Channels::BindingContext ^ context);
public override T GetProperty<T> (System.ServiceModel.Channels.BindingContext context) where T : class;
override this.GetProperty : System.ServiceModel.Channels.BindingContext -> 'T (requires 'T : null)
Public Overrides Function GetProperty(Of T As Class) (context As BindingContext) As T
Parâmetros de tipo
- T
O tipo de objeto a ser recuperado.The type of object to retrieve.
Parâmetros
- context
- BindingContext
O contexto de associação.The binding context.
Retornos
- T
Um objeto do tipo especificado, se presente; caso contrário, null.An object of the specified type if present, otherwise null.