コンテンツにスキップ

VRScreenshotException クラス

Thrown when an OpenVR screenshot operation (EVRScreenshotError) fails.

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

public class VRScreenshotException : OpenVRSystemException<EVRScreenshotError>, ISerializable

object ← Exception ← OpenVRSystemException<EVRScreenshotError> ← VRScreenshotException

ISerializable

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

VRScreenshotException(string, EVRScreenshotError)

Section titled “VRScreenshotException(string, EVRScreenshotError)”

Thrown when an OpenVR screenshot operation (EVRScreenshotError) fails.

public VRScreenshotException(string message, EVRScreenshotError errorCode)

message string

errorCode EVRScreenshotError

Creates an exception with a message derived from errorCode.

public VRScreenshotException(EVRScreenshotError errorCode)

errorCode EVRScreenshotError

Throws a VRScreenshotException if error indicates a failure.

public static void ThrowIfError(EVRScreenshotError error)

error EVRScreenshotError