Class MFError
Inheritance
System.Object
MFError
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: MediaFoundation.Misc
Assembly: MediaFoundation.dll
Syntax
public class MFError
Constructors
MFError()
Declaration
public MFError()
MFError(HResult)
MFError(Int32)
Declaration
public MFError(int hr)
Parameters
System.Int32
hr
|
Methods
Failed()
Declaration
public bool Failed()
Returns
System.Boolean
|
Failed(HResult)
Failed(Int32)
Declaration
public static bool Failed(int hr)
Parameters
System.Int32
hr
|
Returns
System.Boolean
|
GetErrorText()
Declaration
public string GetErrorText()
Returns
System.String
|
GetErrorText(HResult)
Declaration
public static string GetErrorText(HResult hr)
Parameters
HResult
hr
|
Returns
System.String
|
GetErrorText(Int32)
Declaration
[SecurityCritical]
public static string GetErrorText(int hr)
Parameters
System.Int32
hr
|
Returns
System.String
|
Succeeded()
Declaration
public bool Succeeded()
Returns
System.Boolean
|
Succeeded(HResult)
Succeeded(Int32)
Declaration
public static bool Succeeded(int hr)
Parameters
System.Int32
hr
|
Returns
System.Boolean
|
ThrowExceptionForHR()
Declaration
public void ThrowExceptionForHR()
ThrowExceptionForHR(HResult)
ThrowExceptionForHR(Int32)
Declaration
public static void ThrowExceptionForHR(int hr)
Parameters
System.Int32
hr
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Overrides
System.Object.ToString()
Operators
Implicit(HResult to MFError)
Declaration
public static implicit operator MFError(HResult hr)
Parameters
HResult
hr
|
Returns
MFError
|
Implicit(MFError to HResult)
Declaration
public static implicit operator HResult(MFError hr)
Parameters
MFError
hr
|
Returns
HResult
|
Implicit(MFError to Int32)
Declaration
public static implicit operator int (MFError hr)
Parameters
MFError
hr
|
Returns
System.Int32
|
Implicit(Int32 to MFError)
Declaration
public static implicit operator MFError(int hr)
Parameters
System.Int32
hr
|
Returns
MFError
|