Opc.Ua.Server.RequestHandle.IsValid C# (CSharp) Method

IsValid() public method

Returns true if the handle is valid and is of the specified type.
public IsValid ( Type expectedType ) : bool
expectedType System.Type
return bool
        public bool IsValid(Type expectedType)
        {
            if (m_handle != null)
            {
                return m_handle.GetType() == expectedType;
            }

            return false;
        }
        #endregion