コンテンツにスキップ

VRNotificationException クラス

Thrown when an OpenVR notification operation (EVRNotificationError) fails.

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

public class VRNotificationException : OpenVRSystemException<EVRNotificationError>, ISerializable

object ← Exception ← OpenVRSystemException<EVRNotificationError> ← VRNotificationException

ISerializable

OpenVRSystemException<EVRNotificationError>.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()

VRNotificationException(string, EVRNotificationError)

Section titled “VRNotificationException(string, EVRNotificationError)”

Thrown when an OpenVR notification operation (EVRNotificationError) fails.

public VRNotificationException(string message, EVRNotificationError errorCode)

message string

errorCode EVRNotificationError

VRNotificationException(EVRNotificationError)

Section titled “VRNotificationException(EVRNotificationError)”

Creates an exception with a message derived from errorCode.

public VRNotificationException(EVRNotificationError errorCode)

errorCode EVRNotificationError

Throws a VRNotificationException if error indicates a failure.

public static void ThrowIfError(EVRNotificationError error)

error EVRNotificationError