Visual Basic (Declaration) | |
---|---|
Public Overridable Function CreateSession( _ ByVal requestHeader As RequestHeader, _ ByVal clientDescription As ApplicationDescription, _ ByVal serverUri As String, _ ByVal endpointUrl As String, _ ByVal sessionName As String, _ ByVal clientNonce() As Byte, _ ByVal clientCertificate() As Byte, _ ByVal requestedSessionTimeout As Double, _ ByVal maxResponseMessageSize As UInteger, _ ByRef sessionId As NodeId, _ ByRef authenticationToken As NodeId, _ ByRef revisedSessionTimeout As Double, _ ByRef serverNonce As Byte(), _ ByRef serverCertificate As Byte(), _ ByRef serverEndpoints As EndpointDescriptionCollection, _ ByRef serverSoftwareCertificates As SignedSoftwareCertificateCollection, _ ByRef serverSignature As SignatureData, _ ByRef maxRequestMessageSize As UInteger _ ) As ResponseHeader |
C# | |
---|---|
public virtual ResponseHeader CreateSession( RequestHeader requestHeader, ApplicationDescription clientDescription, string serverUri, string endpointUrl, string sessionName, byte[] clientNonce, byte[] clientCertificate, double requestedSessionTimeout, uint maxResponseMessageSize, out NodeId sessionId, out NodeId authenticationToken, out double revisedSessionTimeout, out byte[] serverNonce, out byte[] serverCertificate, out EndpointDescriptionCollection serverEndpoints, out SignedSoftwareCertificateCollection serverSoftwareCertificates, out SignatureData serverSignature, out uint maxRequestMessageSize ) |
Parameters
- requestHeader
- clientDescription
- serverUri
- endpointUrl
- sessionName
- clientNonce
- clientCertificate
- requestedSessionTimeout
- maxResponseMessageSize
- sessionId
- authenticationToken
- revisedSessionTimeout
- serverNonce
- serverCertificate
- serverEndpoints
- serverSoftwareCertificates
- serverSignature
- maxRequestMessageSize
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family