Partager via


Guard.ArgumentNotNull Method (Object, String)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Checks an argument to ensure it isn't null

Namespace:   Microsoft.Uii.Common
Assembly:  Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Syntax

public static void ArgumentNotNull(
    object argumentValue,
    string argumentName
)
Public Shared Sub ArgumentNotNull (
    argumentValue As Object,
    argumentName As String
)

Parameters

  • argumentValue
    Type: System.Object

    Specifies the argument value to check.

  • argumentName
    Type: System.String

    Specifies the name of the argument.

See Also

Guard Class
Microsoft.Uii.Common Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright