Guard.GuidNotEmpty Method
Checks to ensure that the GUID is not empty.
Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)
Usage
'Usage
Dim argumentValue As Guid
Dim argumentName As String
Guard.GuidNotEmpty(argumentValue, argumentName)
Syntax
'Declaration
Public Shared Sub GuidNotEmpty ( _
argumentValue As Guid, _
argumentName As String _
)
public static void GuidNotEmpty (
Guid argumentValue,
string argumentName
)
public:
static void GuidNotEmpty (
Guid argumentValue,
String^ argumentName
)
public static void GuidNotEmpty (
Guid argumentValue,
String argumentName
)
public static function GuidNotEmpty (
argumentValue : Guid,
argumentName : String
)
Parameters
- argumentValue
Specifies the argument value.
- argumentName
Specifies the name of the argument.
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.
Platforms
See Also
Reference
Guard Class
Guard Members
Microsoft.Uii.Common Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.