Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns true if the transaction's ContextInfo has a CopyOriginContext.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Shared Function HasContext ( _
transaction As Transaction _
) As Boolean
public static bool HasContext(
Transaction transaction
)
public:
static bool HasContext(
Transaction^ transaction
)
static member HasContext :
transaction:Transaction -> bool
public static function HasContext(
transaction : Transaction
) : boolean
Parameters
transaction
Type: Microsoft.VisualStudio.Modeling.TransactionThe transaction to inspect.
Return Value
Type: Boolean
True if the transaction's ContextInfo has a CopyOriginContext.
.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.