WebSocketCreateServerHandle() static private method

static private WebSocketCreateServerHandle ( Interop properties, int propertyCount, SafeWebSocketHandle &webSocketHandle ) : void
properties Interop
propertyCount int
webSocketHandle SafeWebSocketHandle
return void
示例#1
0
 private SafeHandle CreateWebSocketHandle()
 {
     Debug.Assert(_properties != null, "'_properties' MUST NOT be NULL.");
     return(WebSocketProtocolComponent.WebSocketCreateServerHandle(
                _properties,
                _properties.Length));
 }
        private SafeHandle CreateWebSocketHandle()
        {
            Contract.Assert(m_Properties != null, "'m_Properties' MUST NOT be NULL.");
            SafeWebSocketHandle sessionHandle;

            WebSocketProtocolComponent.WebSocketCreateServerHandle(m_Properties,
                                                                   m_Properties.Length,
                                                                   out sessionHandle);
            Contract.Assert(sessionHandle != null, "'sessionHandle MUST NOT be NULL.");

            return(sessionHandle);
        }
示例#3
0
        private SafeHandle CreateWebSocketHandle()
        {
            Debug.Assert(_properties != null, "'_properties' MUST NOT be NULL.");
            SafeWebSocketHandle sessionHandle;

            WebSocketProtocolComponent.WebSocketCreateServerHandle(
                _properties,
                _properties.Length,
                out sessionHandle);
            Debug.Assert(sessionHandle != null, "'sessionHandle MUST NOT be NULL.");

            return(sessionHandle);
        }