Home All Groups Group Topic Archive Search About

Access members of generic types

Author
6 Jul 2006 2:53 PM
Benjamin
Hi!

        Dim policies As Microsoft.Web.Services3.Design.Policies
        policies =
Microsoft.Web.Services3.Configuration.WebServicesConfiguration.PolicyConfiguration.GetPolicies()

        Dim assertion As
Microsoft.Web.Services3.Design.UsernameForCertificateAssertion
        assertion = CType(policies("ClientPolicy").Assertions(0),
Microsoft.Web.Services3.Design.UsernameForCertificateAssertion)

        Dim x509TokenProvider As
Microsoft.Web.Services3.Design.TokenProvider(Of
Microsoft.Web.Services3.Security.Tokens.X509SecurityToken)
        x509TokenProvider = assertion.X509TokenProvider

When debugging and is looking at the variable x509TokenProvider in the
Watch, i see following nicy, nicy information.

-        x509TokenProvider    {Microsoft.Web.Services3.Design.X509TokenProvider}    Microsoft.Web.Services3.Design.TokenProvider(Of
Microsoft.Web.Services3.Security.Tokens.X509SecurityToken)

        FindType    FindBySubjectDistinguishedName
{2}    System.Security.Cryptography.X509Certificates.X509FindType

How can I access the value FindType. It doesn´t show up in intellisense. How
do a access the attributes on these types of "geniric types" ??

Benjamin,
Sweden

AddThis Social Bookmark Button