ViewModelBase.TryResolveService Method (Type)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Function TryResolveService ( _
serviceType As Type _
) As Object
public Object TryResolveService(
Type serviceType
)
public:
Object^ TryResolveService(
Type^ serviceType
)
member TryResolveService :
serviceType:Type -> Object
public function TryResolveService(
serviceType : Type
) : Object
Parameters
- serviceType
Type: System.Type
Return Value
Type: System.Object
Returns Object.
.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.