'Declaration
<CLSCompliantAttribute(False)> Public Function New( _ ByVal serverElement As ServerElement, _ ByVal networkSecurity As NetworkSecurity _ )
'Usage
Dim serverElement As ServerElement Dim networkSecurity As NetworkSecurity Dim instance As New ServerDescriptor(serverElement, networkSecurity)
[CLSCompliant(false)] public ServerDescriptor( ServerElement serverElement, NetworkSecurity networkSecurity )
[CLSCompliant(false)] public: ServerDescriptor( ServerElement^ serverElement, NetworkSecurity^ networkSecurity )
Parameters
- serverElement
- Server element object (obtained through browsing for servers) that contains the server's ProgID or CLSID.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - networkSecurity
- Security settings used when connecting to the endpoint.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).