Guard.ValidateUri Method (Uri, String)

 

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

Checks a URI argument to ensure it is valid.

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

Syntax

public static void ValidateUri(
    Uri argumentValue,
    string argumentName
)
Public Shared Sub ValidateUri (
    argumentValue As Uri,
    argumentName As String
)

Parameters

  • argumentValue
    Type: System.Uri

    Specifies the argument value.

  • 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

© 2017 Microsoft. All rights reserved. Copyright