ClientBase<TChannel>.ChannelBase<T>.IChannel.GetProperty<TProperty> 方法

定義

如果在通道堆疊的適當層次中有的話,傳回要求的型別物件。

generic <typename TProperty>
 where TProperty : class virtual TProperty System.ServiceModel.Channels.IChannel.GetProperty() = System::ServiceModel::Channels::IChannel::GetProperty;
TProperty IChannel.GetProperty<TProperty> () where TProperty : class;
abstract member System.ServiceModel.Channels.IChannel.GetProperty : unit -> 'Property (requires 'Property : null)
override this.System.ServiceModel.Channels.IChannel.GetProperty : unit -> 'Property (requires 'Property : null)
Function GetProperty(Of TProperty As Class) () As TProperty Implements IChannel.GetProperty

類型參數

TProperty

此方法所查詢的型別物件。

傳回

TProperty

如果要求的型別物件 T 存在,則為此物件,如果不存在,則為 null。

實作

適用於