What should you do?
You have a Visual Studio Team Foundation Server 2010 environment that includes team project collections named CollectionA and CollectionB. You intend to perform maintenance on CollectionA while still allowing users to connect to CollectionB.
You need to prevent end users from using CollectionA, and display a notification that CollectionA is offline, but still associated with Team Foundation Server, to users who attempt to connect to the team project collection.
What should you do?
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You create a custom control named Wheel.
You need to ensure that the Speed property of Wheel can be animated.
What should you do?
Which code segment should you use?
A Windows Communication Foundation (WCF) application uses the following data contract
[DataContract]
public class Person
{
[DataMember]
public string firstName;
[DataMember]
public string lastName;
[DataMember]
public int age;
[DataMember]
public int ID;
}
You need to ensure that the following XML segment is generated when the data contract is serialized.
<Person>
<firstName xsi:nil=”true”/>
<lastName xsi:nil=”true”/>
<ID>999999999<ID>
</Person>
Which code segment should you use?
What should you do?
You have a Visual Studio Team Foundation Server 2010 environment. Your build lab includes multiple build servers.
You configure the build servers, build controllers, and build agents for a team project collection. You customize the build process workflow file to include custom activities that you have compiled into an assembly.
You need to ensure that the assembly is loaded by the build service process on the build servers.
What should you do?
Which code fragment should you use?
You use Microsoft .NET Framework 4 to create a Windows application that can execute on client computers that run Windows Vista.
You are creating a User Account Control (UAC) application manifest for the application.
You need to ensure that users who are members of the local Administrators group do not receive a UAC prompt when the application executes.
Which code fragment should you use?
What should you do?
You have a Visual Studio Team Foundation Server 2010 environment. You are setting up Visual Studio Lab Management 2010. You need to store virtual machine templates used by the virtual lab environment.
What should you do?
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Forms application.
The application includes a RichTextBox control and a ListBox control. The ListBox control is populated with a list of valid file names.
The application allows users to drag a ListBox item to the RichTextBox control.
You need to provide a visual indication that a file that is dragged can be dropped on the RichTextBox control.
What should you do?
What should you do?
A Windows Communication Foundation (WCF) application uses a data contract that has several data members.
You need the application to throw a SerializationException if any of the data members are not present when a serialized instance of the data contract is deserialized.
What should you do?
What should you do?
You have a single-tier Visual Studio Team Foundation Server 2010 environment. You create the DNS CNAME record that maps tfs.contoso.com as an alias for the application tier server name.
You receive alert e-mails for a Work Item Changed event. The alerts include Visual Studio 2010 Team Web Access links that use the server name instead of the alias. You need to ensure that Team Web Access links in alert e-mails use the alias instead of the server name.
What should you do?
Which enumeration member should you use?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application uses the drag-and-drop functionality.
You need to ensure that the drag-and-drop operation is stopped when a user moves the cursor outside the boundaries of the application form.
Which enumeration member should you use?