Aracılığıyla paylaş


WSTrustChannel.GetProperty<T> Yöntem

Tanım

Varsa kanal yığınında uygun katmandan istenen türüne sahip bir nesne döndürür.

public:
generic <typename T>
 where T : class virtual T GetProperty();
public T GetProperty<T> () where T : class;
abstract member GetProperty : unit -> 'T (requires 'T : null)
override this.GetProperty : unit -> 'T (requires 'T : null)
Public Function GetProperty(Of T As Class) () As T

Tür Parametreleri

T

Yöntemin sorguda olduğu türü doğru nesne.

Döndürülenler

T

Varsa veya mevcutsa istenen türü null türüne göre nesne.

Uygulamalar

Şunlara uygulanır