コンテンツにスキップ

VRSettingsException クラス

Thrown when an OpenVR settings operation (EVRSettingsError) fails.

名前空間: FloatSoda.OVR.Exceptions
アセンブリ: FloatSoda.OVR.dll

public class VRSettingsException : OpenVRSystemException<EVRSettingsError>, ISerializable

object ← Exception ← OpenVRSystemException<EVRSettingsError> ← VRSettingsException

ISerializable

OpenVRSystemException<EVRSettingsError>.ErrorCode, Exception.GetBaseException(), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, Exception.SerializeObjectState, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

VRSettingsException(string, EVRSettingsError)

Section titled “VRSettingsException(string, EVRSettingsError)”

Thrown when an OpenVR settings operation (EVRSettingsError) fails.

public VRSettingsException(string message, EVRSettingsError errorCode)

message string

errorCode EVRSettingsError

Creates an exception with a message derived from errorCode.

public VRSettingsException(EVRSettingsError errorCode)

errorCode EVRSettingsError

Throws a VRSettingsException if error indicates a failure.

public static void ThrowIfError(EVRSettingsError error)

error EVRSettingsError