DeviceRegistrationFailedException Class

 

Applies To: Dynamics CRM 2015

Indicates that device registration failed.

Namespace:   Microsoft.Xrm.Client.Services.Samples
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Xrm.Client.Services.Samples.DeviceRegistrationFailedException

Syntax

[SerializableAttribute]
public sealed class DeviceRegistrationFailedException : Exception
[SerializableAttribute]
public ref class DeviceRegistrationFailedException sealed : Exception
[<Sealed>]
[<SerializableAttribute>]
type DeviceRegistrationFailedException = 
    class
        inherit Exception
    end
<SerializableAttribute>
Public NotInheritable Class DeviceRegistrationFailedException
    Inherits Exception

Constructors

Name Description
System_CAPS_pubmethod DeviceRegistrationFailedException()

Initializes a new instance of theDeviceRegistrationFailedException class.

System_CAPS_pubmethod DeviceRegistrationFailedException(DeviceRegistrationErrorCode, String)

Initializes a new instance of theDeviceRegistrationFailedException class using an error code and sub-code.

System_CAPS_pubmethod DeviceRegistrationFailedException(DeviceRegistrationErrorCode, String, Exception)

Initializes a new instance of theDeviceRegistrationFailedException class using an error code, sub-code, and an inner exception.

System_CAPS_pubmethod DeviceRegistrationFailedException(String)

Initializes a new instance of theDeviceRegistrationFailedException class using a message.

System_CAPS_pubmethod DeviceRegistrationFailedException(String, Exception)

Initializes a new instance of theDeviceRegistrationFailedException class using a message and an inner exception.

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_pubproperty HResult

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

(Inherited from Exception.)

System_CAPS_pubproperty RegistrationErrorCode

Gets the exception error code.

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

Extension Methods

Name Description
System_CAPS_pubmethod SerializeByJson(IEnumerable<Type>)

Serialize an object using the DataContractJsonSerializer.(Defined by ObjectExtensions.)

Remarks

This exception is thrown when registration of a device with Microsoft account fails.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Client.Services.Samples Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright