IdentityPropertiesView.CreateView<T> Method (TeamFoundationRequestContext, Guid)
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Shared Function CreateView(Of T As {New, IdentityPropertiesView}) ( _
requestContext As TeamFoundationRequestContext, _
identityId As Guid _
) As T
public static T CreateView<T>(
TeamFoundationRequestContext requestContext,
Guid identityId
)
where T : new(), IdentityPropertiesView
public:
generic<typename T>
where T : gcnew(), IdentityPropertiesView
static T CreateView(
TeamFoundationRequestContext^ requestContext,
Guid identityId
)
static member CreateView :
requestContext:TeamFoundationRequestContext *
identityId:Guid -> 'T when 'T : new() and IdentityPropertiesView
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- identityId
Type: System.Guid
Return Value
Type: T
Returns {0}.
.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.