UnauthorizedRequestException Constructor (String, DateTimeOffset, DateTimeOffset, TimeSpan, Exception)
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub New ( _
userName As String, _
complianceInvalidated As DateTimeOffset, _
complianceValidated As DateTimeOffset, _
gracePeriod As TimeSpan, _
innerException As Exception _
)
public UnauthorizedRequestException(
string userName,
DateTimeOffset complianceInvalidated,
DateTimeOffset complianceValidated,
TimeSpan gracePeriod,
Exception innerException
)
public:
UnauthorizedRequestException(
String^ userName,
DateTimeOffset complianceInvalidated,
DateTimeOffset complianceValidated,
TimeSpan gracePeriod,
Exception^ innerException
)
new :
userName:string *
complianceInvalidated:DateTimeOffset *
complianceValidated:DateTimeOffset *
gracePeriod:TimeSpan *
innerException:Exception -> UnauthorizedRequestException
public function UnauthorizedRequestException(
userName : String,
complianceInvalidated : DateTimeOffset,
complianceValidated : DateTimeOffset,
gracePeriod : TimeSpan,
innerException : Exception
)
Parameters
- userName
Type: System.String
- complianceInvalidated
Type: System.DateTimeOffset
- complianceValidated
Type: System.DateTimeOffset
- gracePeriod
Type: System.TimeSpan
- innerException
Type: System.Exception
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
UnauthorizedRequestException Class