using (var svc = new LoyaltyService.LoyaltyClient())
{
var request = new LoyaltyService.ManagementGroupRequestOfSelectMember();
request.Token = "Token";
request.ManagementGroup = "Management group";
var search = new LoyaltyService.SelectMember();
search.MemberRSN = new Guid("d51af9f0-ddbb-4b28-ad39-ace5925886e2");;
search.MemberType = "Person";
request.Value = search;
LoyaltyService.ResultOfMember result = svc.SelectMember(request);
if (result.FaultCode == 0)
{
}
else
{
throw new Exception(result.FaultDescription);
}
}